summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/printconf.c
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-07-31 16:04:35 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-07-31 16:04:35 +0000
commit1af5482f25ee6b0dd07627a04973288afeb2c361 (patch)
tree5578ba7b18987789a5253aa31970aa1a0389f0e5 /usr.sbin/ripd/printconf.c
parent781b950ecf0f996c9426c803739d7f446c890c8c (diff)
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.c4
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