summaryrefslogtreecommitdiff
path: root/print-udp.c
diff options
context:
space:
mode:
authorhannes <hannes>2007-07-24 16:07:29 +0000
committerhannes <hannes>2007-07-24 16:07:29 +0000
commitf89e58426ddb1d613bb5cb30dec2a3f483be19fd (patch)
tree616fc89156fceabb0d13376c9bb0badabbe8bf84 /print-udp.c
parentfd59ca36b13d704a06beb9b4c1f2bd73a0f67dea (diff)
downloadtcpdump-f89e58426ddb1d613bb5cb30dec2a3f483be19fd.tar.gz
From Carles Kishimoto <carles.kishimoto@gmail.com>:
add initial support for the Light Weight Access Point Protocol as per draft-ohara-capwap-lwapp-04
Diffstat (limited to 'print-udp.c')
-rw-r--r--print-udp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/print-udp.c b/print-udp.c
index 2f7ffc77..a205cf5d 100644
--- a/print-udp.c
+++ b/print-udp.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.140 2007-03-27 10:44:09 hannes Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.141 2007-07-24 16:07:30 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -685,6 +685,12 @@ udp_print(register const u_char *bp, u_int length,
lmp_print((const u_char *)(up + 1), length);
else if (ISPORT(VQP_PORT))
vqp_print((const u_char *)(up + 1), length);
+ else if (dport == LWAPP_CONTROL_PORT)
+ lwapp_control_print((const u_char *)(up + 1), length, 1);
+ else if (sport == LWAPP_CONTROL_PORT)
+ lwapp_control_print((const u_char *)(up + 1), length, 0);
+ else if (ISPORT(LWAPP_DATA_PORT))
+ lwapp_data_print((const u_char *)(up + 1), length);
else if (ISPORT(SIP_PORT))
sip_print((const u_char *)(up + 1), length);
else if (ISPORT(SYSLOG_PORT))