From 9bcd5adf878dfa9f5c621f8b0043ef7f94cdb4b1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 24 Feb 2021 21:51:10 +0100 Subject: route: static: T2450: add missing "dhcp-interface" route option As thought in the beginning the dhcp-interface route option can not be superseeded by the interface option. When a route is installed for a DHCP interface, that interface is usually a broadcast interface which can not be used for plain interface-based routes. The old Vyatta logic was migrated to Python where the current received next-hop address from the DHCP interface is installed as next-hop address. --- interface-definitions/include/static-route.xml.i | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/static-route.xml.i b/interface-definitions/include/static-route.xml.i index 386582e09..21fcbcd3f 100644 --- a/interface-definitions/include/static-route.xml.i +++ b/interface-definitions/include/static-route.xml.i @@ -31,6 +31,21 @@ + + + DHCP interface supplying next-hop IP address + + + + + txt + DHCP interface name + + + + + + Next-hop IPv4 router interface -- cgit v1.2.3