summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/ripd.h
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-03-24 19:26:14 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-03-24 19:26:14 +0000
commit55cbfa02b07b89c549e6771b491b59af0985a277 (patch)
tree1be39f7af968ec32ff27bb9012a2431cc4201f96 /usr.sbin/ripd/ripd.h
parentf737e3718218bf6c2b61dec5f7b37c4842378fac (diff)
Change the behaviour of redistribute default.
Now a default route have to be present in the fib to be correctly advertised. Spotted and tested by Steven Surdok on ripd. ok claudio@
Diffstat (limited to 'usr.sbin/ripd/ripd.h')
-rw-r--r--usr.sbin/ripd/ripd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ripd/ripd.h b/usr.sbin/ripd/ripd.h
index f14fe7d8b31..7c400bdc9a0 100644
--- a/usr.sbin/ripd/ripd.h
+++ b/usr.sbin/ripd/ripd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ripd.h,v 1.11 2008/12/17 14:19:39 michele Exp $ */
+/* $OpenBSD: ripd.h,v 1.12 2009/03/24 19:26:13 michele Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -58,7 +58,6 @@
#define F_REDISTRIBUTED 0x0100
#define REDISTRIBUTE_ON 0x01
-#define REDISTRIBUTE_DEFAULT 0x02
#define OPT_SPLIT_HORIZON 0x01
#define OPT_SPLIT_POISONED 0x02
@@ -256,7 +255,8 @@ enum {
#define REDIST_STATIC 0x02
#define REDIST_LABEL 0x04
#define REDIST_ADDR 0x08
-#define REDIST_NO 0x10
+#define REDIST_DEFAULT 0x10
+#define REDIST_NO 0x20
struct redistribute {
SIMPLEQ_ENTRY(redistribute) entry;