diff options
Diffstat (limited to 'usr.sbin/bgpd/printconf.c')
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c index 5fc2ab112e1..e147eb23011 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.29 2004/08/24 15:50:16 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.30 2004/09/28 12:09:31 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -83,8 +83,10 @@ print_set(struct filter_set *set) printf("nexthop reject "); if (set->flags & SET_NEXTHOP_BLACKHOLE) printf("nexthop blackhole "); - if (set->flags & SET_PREPEND) - printf("prepend-self %u ", set->prepend); + if (set->flags & SET_PREPEND_SELF) + printf("prepend-self %u ", set->prepend_self); + if (set->flags & SET_PREPEND_PEER) + printf("prepend-neighbor %u ", set->prepend_peer); printf("}"); } } |