Add a missing delimiter to the IEEE80211_IAPP_FRAME_TYPE_NAME array.

The missing comma would cause the tcpdump IAPP printer to segfault
when an i_command value of 15 was processed (as the array only
contained 15 elements).

The array definition doesn't appear to be used anywhere else in the
tree.
Index: iapp.h
===================================================================
RCS file: /cvs/src/usr.sbin/hostapd/iapp.h,v
retrieving revision 1.3
diff -u -p -r1.3 iapp.h
--- iapp.h      10 Mar 2006 18:10:16 -0000      1.3
+++ iapp.h      3 Nov 2015 05:58:10 -0000
@@ -58,7 +58,7 @@ enum ieee80211_iapp_frame_type {
        "reserved#10",                                                  \
        "reserved#11",                                                  \
        "hostapd radiotap",                                             \
-       "hostapd pcap"                                                  \
+       "hostapd pcap",                                                 \
        "reserved#14",                                                  \
        "reserved#15",                                                  \
 }

Reply via email to