From 55cbfa02b07b89c549e6771b491b59af0985a277 Mon Sep 17 00:00:00 2001 From: Michele Marchetto Date: Tue, 24 Mar 2009 19:26:14 +0000 Subject: 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@ --- usr.sbin/ripd/ripd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ripd/ripd.h') 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 @@ -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; -- cgit v1.2.3