diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2010-02-18 15:25:29 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2010-02-18 15:25:29 +0000 |
commit | ae27022650526772b362b237eee9b6fe7cedd454 (patch) | |
tree | 0b1f16cdec5698ae2720ef02aa8a3a7399605e1b /usr.sbin/ldpd/parse.y | |
parent | 68fca8ec123a03e0c1a975d0eee03afeb8149b80 (diff) |
Set the correct defaults for label advertisement, retention and distribution.
ok claudio@
Diffstat (limited to 'usr.sbin/ldpd/parse.y')
-rw-r--r-- | usr.sbin/ldpd/parse.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/parse.y b/usr.sbin/ldpd/parse.y index 68ecc5b8149..09bb62beebb 100644 --- a/usr.sbin/ldpd/parse.y +++ b/usr.sbin/ldpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.2 2010/02/16 08:02:21 michele Exp $ */ +/* $OpenBSD: parse.y,v 1.3 2010/02/18 15:25:28 michele Exp $ */ /* * Copyright (c) 2004, 2005, 2008 Esben Norby <norby@openbsd.org> @@ -697,7 +697,8 @@ parse_config(char *filename, int opts) defs->holdtime = DEFAULT_HOLDTIME; defs->keepalive = DEFAULT_KEEPALIVE; defs->hello_interval = DEFAULT_HELLO_INTERVAL; - defs->mode = (MODE_DIST_INDEPENDENT | MODE_RET_LIBERAL | + + conf->mode = (MODE_DIST_INDEPENDENT | MODE_RET_LIBERAL | MODE_ADV_UNSOLICITED); if ((file = pushfile(filename, !(conf->opts & LDPD_OPT_NOACTION))) == NULL) { |