diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-11-14 20:28:19 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-11-14 20:28:24 +0100 |
commit | a8d017deee482396fc4b8bca1a84cd4f0397d1ae (patch) | |
tree | f0d56c50aaaa96d9f6391a2f14204ad88418951e /interface-ip.c | |
parent | ed11f0c0ffe4fdacfe3f8223049ef8a61d9c53e9 (diff) |
WIP: don't update route inserted by dynamic routing protocolsfix-dynamic-routing
Diffstat (limited to 'interface-ip.c')
-rw-r--r-- | interface-ip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-ip.c b/interface-ip.c index 6efc3c5..ad8942a 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -293,6 +293,9 @@ interface_ip_add_target_route(union if_addr *addr, bool v6, struct interface *if if (!r_next) return NULL; + /* Don't update route inserted by dynamic routing protocols. */ + /* TODO check proto */ + iface = r_next->iface; if (defaultroute_target) return iface; |