=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/main.c,v retrieving revision 1.121 retrieving revision 1.122 diff -c -r1.121 -r1.122 *** src/usr.bin/netstat/main.c 2021/01/26 18:22:45 1.121 --- src/usr.bin/netstat/main.c 2022/09/08 13:18:47 1.122 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.121 2021/01/26 18:22:45 deraadt Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.122 2022/09/08 13:18:47 kn Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* *************** *** 125,131 **** int rflag; /* show routing tables (or routing stats) */ int Rflag; /* show rdomain and rtable summary */ int sflag; /* show protocol statistics */ - int tflag; /* show i/f watchdog timers */ int vflag; /* be verbose */ int Wflag; /* show net80211 protocol statistics */ --- 125,130 ---- *************** *** 156,162 **** tableid = getrtable(); while ((ch = getopt(argc, argv, ! "AaBbc:deFf:ghI:iLlM:mN:np:P:qRrsT:tuvW:w:")) != -1) switch (ch) { case 'A': Aflag = 1; --- 155,161 ---- tableid = getrtable(); while ((ch = getopt(argc, argv, ! "AaBbc:deFf:ghI:iLlM:mN:np:P:qRrsT:uvW:w:")) != -1) switch (ch) { case 'A': Aflag = 1; *************** *** 269,277 **** errx(1, "invalid table id: %s", errstr); Tflag = 1; break; - case 't': - tflag = 1; - break; case 'u': af = AF_UNIX; break; --- 268,273 ---- *************** *** 485,492 **** "usage: netstat [-AaBln] [-M core] [-N system] [-p protocol] [-T rtable]\n" " netstat -W interface\n" " netstat -m\n" ! " netstat -I interface | -i [-bdehnqt]\n" ! " netstat -w wait [-bdehnqt] [-c count] [-I interface]\n" " netstat -s [-gru] [-f address_family] [-p protocol]\n" " netstat -g [-lnu] [-f address_family]\n" " netstat -R\n" --- 481,488 ---- "usage: netstat [-AaBln] [-M core] [-N system] [-p protocol] [-T rtable]\n" " netstat -W interface\n" " netstat -m\n" ! " netstat -I interface | -i [-bdehnq]\n" ! " netstat -w wait [-bdehnq] [-c count] [-I interface]\n" " netstat -s [-gru] [-f address_family] [-p protocol]\n" " netstat -g [-lnu] [-f address_family]\n" " netstat -R\n"