diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2020-08-09 22:46:54 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2020-08-10 21:20:52 +0200 |
commit | 645ceed0ed706b073edd6a0d5a2eb936208b48c9 (patch) | |
tree | bcf841c0f4c1075f6e2a2f15c598e9115a728414 /main.c | |
parent | e32e21e8f338045f410293fab928c9166bf8a44e (diff) |
interface-ip: clear host bits of the device prefix
Clear the host bits of the device prefix in
interface_ip_add_device_prefix as interface_set_prefix_address just ORs
the calculated assignment part which would lead to an invalid IPv6
address if the host bits are not masked out
Suggested-by: Daniel Gröber <dxld@darkboxed.org>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions