=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/main.c,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/netstat/main.c 2000/06/30 23:32:14 1.23 --- src/usr.bin/netstat/main.c 2000/12/13 15:52:58 1.24 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.23 2000/06/30 23:32:14 itojun Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.24 2000/12/13 15:52:58 camield Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* *************** *** 44,50 **** #if 0 static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94"; #else ! static char *rcsid = "$OpenBSD: main.c,v 1.23 2000/06/30 23:32:14 itojun Exp $"; #endif #endif /* not lint */ --- 44,50 ---- #if 0 static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94"; #else ! static char *rcsid = "$OpenBSD: main.c,v 1.24 2000/12/13 15:52:58 camield Exp $"; #endif #endif /* not lint */ *************** *** 289,301 **** af = AF_UNSPEC; ! while ((ch = getopt(argc, argv, "Aadf:gI:ilM:mN:np:rstuvw:")) != -1) switch(ch) { case 'A': Aflag = 1; break; case 'a': aflag = 1; break; case 'd': dflag = 1; --- 289,304 ---- af = AF_UNSPEC; ! while ((ch = getopt(argc, argv, "Aabdf:gI:ilM:mN:np:rstuvw:")) != -1) switch(ch) { case 'A': Aflag = 1; break; case 'a': aflag = 1; + break; + case 'b': + bflag = 1; break; case 'd': dflag = 1;