diff options
author | 2015-05-26 12:19:51 +0000 | |
---|---|---|
committer | 2015-05-26 12:19:51 +0000 | |
commit | 3ccf3a0f61993a61ae5d28856dfc5b5486a69a81 (patch) | |
tree | 63bb8aac935ed62b8a770b920c30683a4bfc6aca /lib/libc/asr/asr_debug.c | |
parent | Normalize route destination before checking for MPATH conflicts. (diff) | |
download | wireguard-openbsd-3ccf3a0f61993a61ae5d28856dfc5b5486a69a81.tar.xz wireguard-openbsd-3ccf3a0f61993a61ae5d28856dfc5b5486a69a81.zip |
Store the IP address of the corresponding ifa in the rt_gateway field
of RTF_CLONING and RTF_BROASCAST routes to not create MPATH conflicts
when IP address aliases are used.
This change makes it possible to have multiple RTF_CLONING routes with
the same priority. Note that any of the existing RTF_CLONING route
might be used by the kernel to create a RTF_CLONED route which should
not be a problem with aliases since they are attached to the same ifp.
This unbreak address aliases since the kernel supports multiple connected
routes for a subnet.
Found the hardway by djm@, ok claudio@
Diffstat (limited to 'lib/libc/asr/asr_debug.c')
0 files changed, 0 insertions, 0 deletions