diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/config.c b/usr.sbin/bgpd/config.c index 66634813793..852bfa58013 100644 --- a/usr.sbin/bgpd/config.c +++ b/usr.sbin/bgpd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.24 2004/01/28 17:24:38 henning Exp $ */ +/* $OpenBSD: config.c,v 1.25 2004/01/30 23:24:04 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -40,6 +40,9 @@ merge_config(struct bgpd_config *xconf, struct bgpd_config *conf, { struct peer *p; + /* preserve cmd line opts */ + conf->opts = xconf->opts; + if (!conf->as) { log_warnx("configuration error: AS not given"); return (1); |