mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 07:09:08 +00:00
Merge pull request #12386 from opensourcerouting/bfd-ipv4-source-bind
bfdd: fix IPv4 socket source selection
This commit is contained in:
commit
24604f5608
@ -1397,8 +1397,6 @@ int bp_peer_socket(const struct bfd_session *bs)
|
||||
sin.sin_len = sizeof(sin);
|
||||
#endif /* HAVE_STRUCT_SOCKADDR_SA_LEN */
|
||||
memcpy(&sin.sin_addr, &bs->key.local, sizeof(sin.sin_addr));
|
||||
if (CHECK_FLAG(bs->flags, BFD_SESS_FLAG_MH) == 0)
|
||||
sin.sin_addr.s_addr = INADDR_ANY;
|
||||
|
||||
pcount = 0;
|
||||
do {
|
||||
|
Loading…
Reference in New Issue
Block a user