diff options
Diffstat (limited to 'networking/netstat.c')
-rw-r--r-- | networking/netstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/netstat.c b/networking/netstat.c index 9fd3d2f86..5bacb47cc 100644 --- a/networking/netstat.c +++ b/networking/netstat.c | |||
@@ -497,7 +497,7 @@ int netstat_main(int argc, char **argv) | |||
497 | #endif | 497 | #endif |
498 | 498 | ||
499 | /* Option string must match NETSTAT_xxx constants */ | 499 | /* Option string must match NETSTAT_xxx constants */ |
500 | opt = getopt32(argc, argv, NETSTAT_OPTS); | 500 | opt = getopt32(argv, NETSTAT_OPTS); |
501 | if (opt & 0x1) { // -l | 501 | if (opt & 0x1) { // -l |
502 | flags &= ~NETSTAT_CONNECTED; | 502 | flags &= ~NETSTAT_CONNECTED; |
503 | flags |= NETSTAT_LISTENING; | 503 | flags |= NETSTAT_LISTENING; |