diff options
author | 2021-03-17 14:30:08 +0000 | |
---|---|---|
committer | 2021-03-17 14:30:08 +0000 | |
commit | c7bf3b0bd4f2e32c92809bd522edaa343a003500 (patch) | |
tree | 4dd5dce81288f838152aa9c98f40aa900fbd011e /lib/libc/stdlib/recallocarray.c | |
parent | Fix bit position of ORPHAN in PS_BITS. (diff) | |
download | wireguard-openbsd-c7bf3b0bd4f2e32c92809bd522edaa343a003500.tar.xz wireguard-openbsd-c7bf3b0bd4f2e32c92809bd522edaa343a003500.zip |
Use correct rdomain when adding/deleting routes
mpip(4) always adds and deletes routes in rdomain 0 regardless of the
`tunneldomain', i.e. the `sc_rdomain' value.
mpw(4) adds routes with the specified rdomain but always deletes them
in rdomain 0.
mpe(4) consistently uses the softc's rdomain which is tracked
consistently across the various ioctls -- no fix needed.
Found while reading the code and testing ifconfig(8)'s "tunneldomain" in
order to document MPLS ioctls.
OK claudio
Diffstat (limited to 'lib/libc/stdlib/recallocarray.c')
0 files changed, 0 insertions, 0 deletions