Commit 9036cd68 authored by Bernd Eckenfels's avatar Bernd Eckenfels

sorted options

parent 91f3c44c
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* NET-3 Networking Distribution for the LINUX operating * NET-3 Networking Distribution for the LINUX operating
* system. * system.
* *
* Version: $Id: netstat.c,v 1.61 2008/12/01 23:15:35 ecki Exp $ * Version: $Id: netstat.c,v 1.62 2008/12/02 01:53:48 ecki Exp $
* *
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de> * Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
...@@ -1587,7 +1587,7 @@ int main ...@@ -1587,7 +1587,7 @@ int main
getroute_init(); /* Set up AF routing support */ getroute_init(); /* Set up AF routing support */
afname[0] = '\0'; afname[0] = '\0';
while ((i = getopt_long(argc, argv, "MCFA:acdegphinNorstuWVv?wxl64U", longopts, &lop)) != EOF) while ((i = getopt_long(argc, argv, "A:CFMacdeghilnNoprstuUvVWwx64?", longopts, &lop)) != EOF)
switch (i) { switch (i) {
case -1: case -1:
break; break;
...@@ -1675,11 +1675,9 @@ int main ...@@ -1675,11 +1675,9 @@ int main
case 'r': case 'r':
flag_rou++; flag_rou++;
break; break;
case 't': case 't':
flag_tcp++; flag_tcp++;
break; break;
case 'u': case 'u':
flag_udp++; flag_udp++;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment