diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-02-09 13:29:16 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-02-09 13:29:16 +0000 |
commit | c4ee886e2f70eabcb16fde363387e8257dc4c8ba (patch) | |
tree | d964013bc6b6b18f6b2ef4e82547903b3d378cc0 /usr.sbin/bgpd | |
parent | 304ea2e17ea69d855338258a797619d7ab9e32fb (diff) |
Don't hardcode the AID to AID_INET6 when sending MP EoR updates.
This will allow AID_VPN_IPv4 to do EoRs as well.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 10b470aecc0..663d234cb39 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.286 2010/02/08 17:21:37 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.287 2010/02/09 13:29:15 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -2657,7 +2657,7 @@ rde_update6_queue_runner(u_int8_t aid) case -2: continue; case -1: - peer_send_eor(peer, AID_INET6); + peer_send_eor(peer, aid); continue; default: b = queue_buf + r; |