diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2014-08-13 19:06:25 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2014-08-13 19:06:25 +0100 |
commit | 02a01bbaae296567e4f5f8eca52610a4353f600c (patch) | |
tree | b04b562307aee7b0d6d25196d694715d863ccc42 /print-udp.c | |
parent | 16a592dcadb25d2262d64f3811cb2da5e42e1846 (diff) | |
download | tcpdump-02a01bbaae296567e4f5f8eca52610a4353f600c.tar.gz |
merge bootp.h into print-bootp.c
Diffstat (limited to 'print-udp.c')
-rw-r--r-- | print-udp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/print-udp.c b/print-udp.c index f3da50c9..54d050c2 100644 --- a/print-udp.c +++ b/print-udp.c @@ -43,7 +43,6 @@ #include "nameser.h" #include "nfs.h" -#include "bootp.h" struct rtcphdr { uint16_t rh_flags; /* T:2 P:1 CNT:5 PT:8 */ @@ -571,7 +570,7 @@ udp_print(netdissect_options *ndo, register const u_char *bp, u_int length, timed_print(ndo, (const u_char *)(up + 1)); else if (ISPORT(TFTP_PORT)) tftp_print(ndo, (const u_char *)(up + 1), length); - else if (ISPORT(IPPORT_BOOTPC) || ISPORT(IPPORT_BOOTPS)) + else if (ISPORT(BOOTPC_PORT) || ISPORT(BOOTPS_PORT)) bootp_print(ndo, (const u_char *)(up + 1), length); else if (ISPORT(RIP_PORT)) rip_print(ndo, (const u_char *)(up + 1), length); |