]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lwapp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-lwapp.c
index 15e2022ce8e06975bdbca73b59e2baf52b81c94f..a18459242400807d4b746c0f73e4e8304862febc 100644 (file)
@@ -175,6 +175,7 @@ lwapp_control_print(netdissect_options *ndo,
     u_int tlen;
     u_int msg_type, msg_tlen;
 
+    ndo->ndo_protocol = "lwapp_control";
     tptr=pptr;
 
     if (has_ap_ident) {
@@ -307,6 +308,7 @@ lwapp_data_print(netdissect_options *ndo,
     u_int tlen;
     u_int version;
 
+    ndo->ndo_protocol = "lwapp_data";
     tptr=pptr;
 
     /* check if enough bytes for AP identity */