]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Make the table of long options const.
authorGuy Harris <[email protected]>
Fri, 20 Jun 2014 19:01:13 +0000 (12:01 -0700)
committerGuy Harris <[email protected]>
Fri, 20 Jun 2014 19:01:13 +0000 (12:01 -0700)
tcpdump.c

index 8407e034212bb1e31e4f09a95eccd65acb8abec6..f41bf697bf90cc6757750766d51c4840d7150b43 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -651,7 +651,7 @@ show_devices_and_exit (void)
 #define OPTION_NUMBER  128
 #define OPTION_VERSION 129
 
-static struct option longopts[] = {
+static const struct option longopts[] = {
 #if defined(HAVE_PCAP_CREATE) || defined(WIN32)
        { "buffer-size", required_argument, NULL, 'B' },
 #endif