diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-04-04 12:03:27 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-04-04 12:03:27 +0000 |
commit | 6fc3876f3f020b5679e0af917e447fc79917b836 (patch) | |
tree | 78349f0837eeacc740eec846a3672f2774a9fdca /usr.sbin/bgpd/rde.h | |
parent | 0ab07f09d421dd74f6a0ddec4ab448983d9942f6 (diff) |
add "set nexthop self", force nexthop to be set to own address even with IBGP
requested & tested Falk Brockerhoff <fb@smartterra.de>, and tony sarendal
tested this too. claudio ok
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index acfc973e6f4..2946102fafd 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.90 2006/03/22 10:18:49 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.91 2006/04/04 12:03:26 henning Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -150,9 +150,10 @@ LIST_HEAD(prefix_head, prefix); #define F_NEXTHOP_REJECT 0x0200 #define F_NEXTHOP_BLACKHOLE 0x0400 #define F_NEXTHOP_NOMODIFY 0x0800 -#define F_ATTR_LINKED 0x1000 -#define F_LOCAL 0x2000 /* Local-RIB */ -#define F_ORIGINAL 0x4000 /* Adj-RIB-In */ +#define F_NEXTHOP_SELF 0x1000 +#define F_ATTR_LINKED 0x2000 +#define F_LOCAL 0x4000 /* Local-RIB */ +#define F_ORIGINAL 0x8000 /* Adj-RIB-In */ #define ORIGIN_IGP 0 |