diff options
| author | zsdc <taras@vyos.io> | 2023-02-14 18:26:45 +0200 |
|---|---|---|
| committer | zsdc <taras@vyos.io> | 2023-02-14 18:26:45 +0200 |
| commit | 3d6d27368891128a40de6047d38771cea2c90760 (patch) | |
| tree | a2d06b6c54873511aff3394426d84ab623720d97 /src/cnode/cnode-algorithm.hpp | |
| parent | 3735e38c6e919d6fe059e58d7682562c51dd7afb (diff) | |
| download | vyatta-cfg-3d6d27368891128a40de6047d38771cea2c90760.tar.gz vyatta-cfg-3d6d27368891128a40de6047d38771cea2c90760.zip | |
misc: T4992: Replaced logic in `is_local_address`
Old logic relied on the ability to bind to a socket on a specified IP address
which does not work when `net.ipv4.ip_nonlocal_bind = 1`.
This implementation uses a `local` IP routing table to see if a route to
an IP address can be resolved using the table.
Diffstat (limited to 'src/cnode/cnode-algorithm.hpp')
0 files changed, 0 insertions, 0 deletions
