From d8c27642a3753513ae1d3c433fa46858a5ee946c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 1 Apr 2021 12:30:48 +0000 Subject: static: route: arp: T3170: prevent empty node.def from beeing generated Currently if there are XML nodes defined in multiple places it can and will happen that one overrides the other. In this case, the "protocols static arp" definition file overwrites the node.def file in the "protocols static" folder that had a priority - the priority is essential for l2tpv3 to work. --- interface-definitions/protocols-static-arp.xml.in | 37 ----------- interface-definitions/protocols-static.xml.in | 78 +++++++++++++++-------- 2 files changed, 52 insertions(+), 63 deletions(-) delete mode 100644 interface-definitions/protocols-static-arp.xml.in (limited to 'interface-definitions') diff --git a/interface-definitions/protocols-static-arp.xml.in b/interface-definitions/protocols-static-arp.xml.in deleted file mode 100644 index e5e8a9ad9..000000000 --- a/interface-definitions/protocols-static-arp.xml.in +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - Static ARP translation - - ipv4 - IPv4 destination address - - - - - - - - - Translation MAC address - - macaddr - Hardware (MAC) address - - - - - - - - - - - - - diff --git a/interface-definitions/protocols-static.xml.in b/interface-definitions/protocols-static.xml.in index ab60649a0..2b1b0082a 100644 --- a/interface-definitions/protocols-static.xml.in +++ b/interface-definitions/protocols-static.xml.in @@ -2,32 +2,58 @@ - - - Static route parameters - 480 - - - #include - #include - #include - - - Policy route table number - - u32:1-200 - Policy route table number - - - - - - - #include - #include - - - + + + Static route parameters + 480 + + + + + Static ARP translation + + ipv4 + IPv4 destination address + + + + + + + + + Translation MAC address + + macaddr + Hardware (MAC) address + + + + + + + + + #include + #include + #include + + + Policy route table number + + u32:1-200 + Policy route table number + + + + + + + #include + #include + + + -- cgit v1.2.3