diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-09 23:16:47 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-09 23:16:47 +0000 |
commit | e34d999c3707330f7156de70de6d3744089ef5e4 (patch) | |
tree | c00de165a097eb6ba6410c504706047a9cbfd99e /usr.sbin/bgpd/bgpd.c | |
parent | 6caf0ed98ad37fa2623a773c73cbe6ee518088f0 (diff) |
print networks too
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 08937e3436e..2beedd33250 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.78 2004/02/09 23:10:04 henning Exp $ */ +/* $OpenBSD: bgpd.c,v 1.79 2004/02/09 23:16:46 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -155,7 +155,7 @@ main(int argc, char *argv[]) if (conf.opts & BGPD_OPT_NOACTION) { if (conf.opts & BGPD_OPT_VERBOSE) - print_config(&conf, peer_l, rules_l); + print_config(&conf, &net_l, peer_l, rules_l); else fprintf(stderr, "configuration OK\n"); exit(0); @@ -522,5 +522,3 @@ send_imsg_session(int type, pid_t pid, void *data, u_int16_t datalen) { imsg_compose_pid(&ibuf_se, type, pid, data, datalen); } - - |