diff options
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; |