diff options
| author | 2008-02-07 16:53:58 +0000 | |
|---|---|---|
| committer | 2008-02-07 16:53:58 +0000 | |
| commit | 1103bd2b6710f6464debb83b471945c5621df39e (patch) | |
| tree | eec449fd1e111f6b98dec85ce12e7ea15431ef1a /usr.sbin/arp/arp.c | |
| parent | Don't use .cvsrc of user running regress tests. (diff) | |
| download | wireguard-openbsd-1103bd2b6710f6464debb83b471945c5621df39e.tar.xz wireguard-openbsd-1103bd2b6710f6464debb83b471945c5621df39e.zip | |
Oops. Better diff to enable -an by default without breaking
the other options too badly;
ok millert@
Diffstat (limited to 'usr.sbin/arp/arp.c')
| -rw-r--r-- | usr.sbin/arp/arp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index a246071db14..86b5d0e59d3 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arp.c,v 1.41 2008/02/07 15:57:07 thib Exp $ */ +/* $OpenBSD: arp.c,v 1.42 2008/02/07 16:53:58 thib Exp $ */ /* $NetBSD: arp.c,v 1.12 1995/04/24 13:25:18 cgd Exp $ */ /* @@ -131,12 +131,12 @@ main(int argc, char *argv[]) break; } } + if (argc == 1) + aflag = nflag = 1; + argc -= optind; argv += optind; - if (argc == 0) - aflag = nflag = 1; - if (!func) func = F_GET; rtn = 0; |
