]> The Tcpdump Group git mirrors - tcpdump/blobdiff - af.c
Add changes in 4.2.1.
[tcpdump] / af.c
diff --git a/af.c b/af.c
index e3c77bf3c4ceda58709cccdb91b90e605db1c549..2c8a928e02add6092d2d998eaf3f993d90e762a3 100644 (file)
--- a/af.c
+++ b/af.c
@@ -28,7 +28,7 @@ static const char rcsid[] _U_ =
 #include "interface.h"
 #include "af.h"
 
-struct tok af_values[] = {
+const struct tok af_values[] = {
     { 0,                      "Reserved"},
     { AFNUM_INET,             "IPv4"},
     { AFNUM_INET6,            "IPv6"},
@@ -50,7 +50,7 @@ struct tok af_values[] = {
     { 0, NULL},
 };
 
-struct tok bsd_af_values[] = {
+const struct tok bsd_af_values[] = {
     { BSD_AFNUM_INET, "IPv4" },
     { BSD_AFNUM_NS, "NS" },
     { BSD_AFNUM_ISO, "ISO" },