]> The Tcpdump Group git mirrors - tcpdump/commitdiff
isakmp: note why we include ipproto.h.
authorGuy Harris <[email protected]>
Sat, 2 Dec 2023 21:18:42 +0000 (13:18 -0800)
committerGuy Harris <[email protected]>
Sat, 2 Dec 2023 21:18:42 +0000 (13:18 -0800)
We don't use any IPPROTO_ values, but we *do* use netdb_protoname(),
which is declared in ipproto.h (because it's defined in ipproto.c).

print-isakmp.c

index 5fe5b07d755676065ed613f3ab172448b5c312d4..57a481def61a4db7591a3b546a7be5a9a4576c46 100644 (file)
@@ -55,7 +55,7 @@
 
 #include "ip.h"
 #include "ip6.h"
-#include "ipproto.h"
+#include "ipproto.h"   /* for netdb_protoname() */
 
 typedef nd_byte cookie_t[8];
 typedef nd_byte msgid_t[4];