From 8babc5b23252c7e76e17692fe161aae7ab7cd71f Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 10 Aug 2004 13:02:09 +0000 Subject: switch nexthop in struct filter_set form struct in_addr to struct bgpd_addr OK henning@ --- usr.sbin/bgpd/bgpd.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'usr.sbin/bgpd/bgpd.h') diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 8fe5562dbe9..86db0da8171 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.139 2004/08/06 12:04:08 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.140 2004/08/10 13:02:07 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -157,17 +157,15 @@ enum enforce_as { }; struct filter_set { - u_int16_t flags; - u_int32_t localpref; - u_int32_t med; - /*XXX this nexthop thing should be changed to one bgpd_addr */ - struct in_addr nexthop; - struct in6_addr nexthop6; - u_int8_t prepend; - char pftable[PFTABLE_LEN]; + u_int16_t flags; + u_int32_t localpref; + u_int32_t med; + struct bgpd_addr nexthop; + u_int8_t prepend; + char pftable[PFTABLE_LEN]; struct { - int as; - int type; + int as; + int type; } community; }; -- cgit v1.2.3