Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] Building 1.0.8 on AIX

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Albert Chin <wireshark-dev@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Jul 2009 18:33:19 -0500

In <sys/param.h> on AIX, we have:
  #define GOOD    0
  #define BAD     (-1)

This causes a problem in epan/dissectors/packet-mip6.h with:
  /* Mobility Option types */
  typedef enum {
          PAD1 = 0,
          PADN = 1,
          BRA  = 2,
          ACOA = 3,
          NI   = 4,
          BAD  = 5,
          MNP  = 6,
          LLA  = 7,
          MNID = 8,
          HNP  = 9,   /* temporary value, not yet defined by IANA */
          TS   = 10   /* temporary value, not yet defined by IANA */
  } optTypes;

Patch attached.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
Index: epan/dissectors/packet-mip6.h
===================================================================
--- epan/dissectors/packet-mip6.h	(revision 28913)
+++ epan/dissectors/packet-mip6.h	(working copy)
@@ -71,7 +71,7 @@
 	BRA  = 2,
 	ACOA = 3,
 	NI   = 4,
-	BAD  = 5,
+	MBAD = 5,
 	MNP  = 6,
 	LLA  = 7,
 	MNID = 8,
Index: epan/dissectors/packet-mip6.c
===================================================================
--- epan/dissectors/packet-mip6.c	(revision 28913)
+++ epan/dissectors/packet-mip6.c	(working copy)
@@ -668,7 +668,7 @@
 	dissect_mip6_opt_ni
 },
 {
-	BAD,
+	MBAD,
 	"Binding Authorization Data",
 	&ett_mip6_opt_bad,
 	VARIABLE_LENGTH,
  • Follow-Ups:
    • Re: [Wireshark-dev] Building 1.0.8 on AIX
      • From: Stig Bjørlykke
  • Prev by Date: Re: [Wireshark-dev] New experimental feature: GTK2 based packetlist (svn rev 28892)
  • Next by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Windows-XP-Win64
  • Previous by thread: Re: [Wireshark-dev] New experimental feature: GTK2 based packet list (svn rev 28892)
  • Next by thread: Re: [Wireshark-dev] Building 1.0.8 on AIX
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation