]> The Tcpdump Group git mirrors - tcpdump/commitdiff
IPv6 mobility: remove unused macros
authorDenis Ovsienko <[email protected]>
Thu, 12 Mar 2015 22:40:04 +0000 (22:40 +0000)
committerDenis Ovsienko <[email protected]>
Thu, 12 Mar 2015 22:40:04 +0000 (22:40 +0000)
Those were part of an earlier implementation of the protocol with a
different encoding. For the present encoding ip6m_hdrlen[] does the job.

print-mobility.c

index b6fa61e9dc747463a10cd1c5a7f75f84f171320f..db9e5b9abd913ba626c3b03ae53f2587583619bb 100644 (file)
@@ -82,11 +82,6 @@ static const unsigned ip6m_hdrlen[IP6M_MAX + 1] = {
        IP6M_MINLEN + 16, /* IP6M_BINDING_ERROR    */
 };
 
-/* XXX: unused */
-#define IP6MOPT_BU_MINLEN      10
-#define IP6MOPT_BA_MINLEN      13
-#define IP6MOPT_BR_MINLEN      2
-
 /* Mobility Header Options */
 #define IP6MOPT_MINLEN         2
 #define IP6MOPT_PAD1          0x0      /* Pad1 */