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/printconf.c | |
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/printconf.c')
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c index a7bcf5cb50f..ddb41175e6f 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.54 2006/03/22 13:30:35 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.55 2006/04/04 12:03:26 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -114,6 +114,9 @@ print_set(struct filter_set_head *set) case ACTION_SET_NEXTHOP_NOMODIFY: printf("nexthop no-modify "); break; + case ACTION_SET_NEXTHOP_SELF: + printf("nexthop self "); + break; case ACTION_SET_PREPEND_SELF: printf("prepend-self %u ", s->action.prepend); break; |