summaryrefslogtreecommitdiff
path: root/af.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-02-20 07:44:56 +0100
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-02-20 07:45:39 +0100
commit2086d80fa01978811613f79a480ea808779b9407 (patch)
tree2e5c4ba5b1112d8be47e3e91b210adb140034c19 /af.c
parent6457f82aaa95e042eb5cf99e3fd6f518e36f28bd (diff)
downloadtcpdump-2086d80fa01978811613f79a480ea808779b9407.tar.gz
af.h/c: make several structs const
Diffstat (limited to 'af.c')
-rw-r--r--af.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/af.c b/af.c
index e3c77bf3..2c8a928e 100644
--- 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" },