diff options
author | 2004-01-20 13:03:39 +0000 | |
---|---|---|
committer | 2004-01-20 13:03:39 +0000 | |
commit | c780394c37e18e74659afd3a0180c7d292b22845 (patch) | |
tree | 9e6191d712cc2273b72d0c089abb1101de0976e0 | |
parent | getopt & usage, prodded by theo (diff) | |
download | wireguard-openbsd-c780394c37e18e74659afd3a0180c7d292b22845.tar.xz wireguard-openbsd-c780394c37e18e74659afd3a0180c7d292b22845.zip |
args, unbreak
-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"); |