summaryrefslogtreecommitdiff
path: root/ipproto.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-02-20 08:45:56 +0100
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-02-20 08:45:56 +0100
commit08696c5fabdec8ae2b6a1a9444180fc3d874199f (patch)
tree52b72dc11cabf606979ae104755b1734ad3c8459 /ipproto.c
parent16c6af16deedfe470548e1dcc640b308ca8a576d (diff)
downloadtcpdump-08696c5fabdec8ae2b6a1a9444180fc3d874199f.tar.gz
ipproto.h/c: mark several structs as const
Diffstat (limited to 'ipproto.c')
-rwxr-xr-xipproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipproto.c b/ipproto.c
index 7b89afb9..644b3642 100755
--- a/ipproto.c
+++ b/ipproto.c
@@ -27,7 +27,7 @@ static const char rcsid[] _U_ =
#include "interface.h"
#include "ipproto.h"
-struct tok ipproto_values[] = {
+const struct tok ipproto_values[] = {
{ IPPROTO_HOPOPTS, "Options" },
{ IPPROTO_ICMP, "ICMP" },
{ IPPROTO_IGMP, "IGMP" },