summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/cpp.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-04-11 22:36:19 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-04-11 22:36:19 +0200
commit0c7da78f4519f1352668b4b024f29fb1e887b3d2 (patch)
tree9a1960a8ac37aa5a9c415571aed6dfdb2534d093 /sys/src/cmd/cpp/cpp.c
parenta7dab2728bde8eea68ddfdfadfad08a00b1f7c68 (diff)
ip/ipconfig: ignore default routes targeting ourselfs
when running ndb configuration, we might inherit the ipgw= attribute from the ipnet pointing to our own ip address (we are the default gateway). ignore such entries. do not add default routes with gateway equal to our own local (ip4) or link-local ip address (ipv6).
Diffstat (limited to 'sys/src/cmd/cpp/cpp.c')
0 files changed, 0 insertions, 0 deletions