summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_update.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-01-13 21:35:17 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-01-13 21:35:17 +0000
commit93f375ac85dd9ae681b8a2e32bb000af303dcdf1 (patch)
tree455b34818e955dd54bd6c935d8435aaaa44eb0d5 /usr.sbin/bgpd/rde_update.c
parent6963561e5fdb7f53addcab13192448109561f3e1 (diff)
Replace NEW_ASPATH/NEW_AGGREGATOR with the naming from RFC4893,
AS4_PATH/AS4_AGGREGATOR. No binary change. ok claudio
Diffstat (limited to 'usr.sbin/bgpd/rde_update.c')
-rw-r--r--usr.sbin/bgpd/rde_update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c
index ecc619c38b8..80b73e2acbe 100644
--- a/usr.sbin/bgpd/rde_update.c
+++ b/usr.sbin/bgpd/rde_update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_update.c,v 1.63 2008/12/12 16:05:30 claudio Exp $ */
+/* $OpenBSD: rde_update.c,v 1.64 2009/01/13 21:35:16 sthen Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -774,7 +774,7 @@ up_generate_attr(struct rde_peer *peer, struct update_attr *upa,
if (plen == 0)
r = 0;
else if ((r = attr_write(up_attr_buf + wlen, len, flags,
- ATTR_NEW_ASPATH, pdata, plen)) == -1)
+ ATTR_AS4_PATH, pdata, plen)) == -1)
return (-1);
wlen += r; len -= r;
free(pdata);
@@ -784,7 +784,7 @@ up_generate_attr(struct rde_peer *peer, struct update_attr *upa,
if (!(a->flags & F_PREFIX_ANNOUNCED))
flags |= ATTR_PARTIAL;
if ((r = attr_write(up_attr_buf + wlen, len, flags,
- ATTR_NEW_AGGREGATOR, newaggr->data, newaggr->len)) == -1)
+ ATTR_AS4_AGGREGATOR, newaggr->data, newaggr->len)) == -1)
return (-1);
wlen += r; len -= r;
}