diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-20 13:03:40 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-20 13:03:40 +0000 |
commit | c1bf28d9cf3085b4e1413e112509ce4e8c79fb9e (patch) | |
tree | f28803e4c831b719c2905615b1b36c4cbb5867c1 /usr.sbin/bgpctl | |
parent | d164e644e5085e124e57447dbdc30feb26812cd0 (diff) |
args, unbreak
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index 41f44738293..978d80761ea 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.30 2004/01/20 12:50:52 henning Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.31 2004/01/20 13:03:39 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -131,18 +131,6 @@ main(int argc, char *argv[]) struct imsg imsg; enum actions action = SHOW_SUMMARY; struct bgpd_addr addr; - int ch; - - while ((ch = getopt(argc, argv, "")) != -1) { - switch (ch) { - default: - usage(); - /* not reached */ - } - } - - argc -= optind; - argv += optind; if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) { err(1, "control_init: socket"); |