diff options
author | michele <michele@openbsd.org> | 2009-07-31 16:04:34 +0000 |
---|---|---|
committer | michele <michele@openbsd.org> | 2009-07-31 16:04:34 +0000 |
commit | 468021608ae5b81a184ccbfdeae3368af2106518 (patch) | |
tree | b0aea5c41b1027c468fb2e1bf8ef0573ae6b3091 /usr.sbin/ripd/printconf.c | |
parent | Clean up debug droppings. (diff) | |
download | wireguard-openbsd-468021608ae5b81a184ccbfdeae3368af2106518.tar.xz wireguard-openbsd-468021608ae5b81a184ccbfdeae3368af2106518.zip |
Reword the split horizon parameters in the configuration file.
Now the choioses are: none, simple, poisoned.
Also make poisoned reverse the default behaviour.
Based on a diff by Eugene Yunak, thanks.
ok claudio@
Diffstat (limited to 'usr.sbin/ripd/printconf.c')
-rw-r--r-- | usr.sbin/ripd/printconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/printconf.c b/usr.sbin/ripd/printconf.c index 4564540f0de..aeabef54fa0 100644 --- a/usr.sbin/ripd/printconf.c +++ b/usr.sbin/ripd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.5 2009/03/24 19:26:13 michele Exp $ */ +/* $OpenBSD: printconf.c,v 1.6 2009/07/31 16:04:34 michele Exp $ */ /* * Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org> @@ -44,7 +44,7 @@ print_mainconf(struct ripd_conf *conf) print_redistribute(conf); if (conf->options & OPT_SPLIT_HORIZON) - printf("split-horizon default\n"); + printf("split-horizon simple\n"); else if (conf->options & OPT_SPLIT_POISONED) printf("split-horizon poisoned\n"); else |