mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:41:20 +00:00
bgpd: Fix issue #218
Wrong offset was used when using global V6 address in place of v6 LL. (Introduced in earlier fix of broken RD advertisement.) Tested by @dslice in master. Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
parent
9965fdbfbf
commit
5f3b76145e
@ -546,7 +546,7 @@ bpacket_reformat_for_peer (struct bpacket *pkt, struct peer_af *paf)
|
||||
}
|
||||
|
||||
if (gnh_modified)
|
||||
stream_put_in6_addr_at (s, vec->offset + 1 + (nhlen-IPV6_MAX_BYTELEN), mod_v6nhg);
|
||||
stream_put_in6_addr_at (s, vec->offset + 1, mod_v6nhg);
|
||||
if (lnh_modified)
|
||||
stream_put_in6_addr_at (s, vec->offset + 1 + (nhlen-IPV6_MAX_BYTELEN), mod_v6nhl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user