From 4d5095fdddb2ca14cb143fa8430307e40a2a5e4e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 3 Sep 2022 20:18:57 +0200 Subject: firewall: T3568: add XML include block for eq,gt,lt options --- interface-definitions/firewall.xml.in | 78 ++----------------------- interface-definitions/include/firewall/eq.xml.i | 14 +++++ interface-definitions/include/firewall/gt.xml.i | 14 +++++ interface-definitions/include/firewall/lt.xml.i | 14 +++++ 4 files changed, 48 insertions(+), 72 deletions(-) create mode 100644 interface-definitions/include/firewall/eq.xml.i create mode 100644 interface-definitions/include/firewall/gt.xml.i create mode 100644 interface-definitions/include/firewall/lt.xml.i diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index cca3c0f7d..c2d652278 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -389,42 +389,9 @@ Hop Limit - - - Value to match a hop limit equal to it - - u32:0-255 - Hop limit equal to value - - - - - - - - - Value to match a hop limit greater than or equal to it - - u32:0-255 - Hop limit greater than value - - - - - - - - - Value to match a hop limit less than or equal to it - - u32:0-255 - Hop limit less than value - - - - - - + #include + #include + #include @@ -610,42 +577,9 @@ Time to live limit - - - Value to match a ttl equal to it - - u32:0-255 - ttl equal to value - - - - - - - - - Value to match a ttl greater than or equal to it - - u32:0-255 - ttl greater than value - - - - - - - - - Value to match a ttl less than or equal to it - - u32:0-255 - ttl less than value - - - - - - + #include + #include + #include diff --git a/interface-definitions/include/firewall/eq.xml.i b/interface-definitions/include/firewall/eq.xml.i new file mode 100644 index 000000000..e1b4f37a2 --- /dev/null +++ b/interface-definitions/include/firewall/eq.xml.i @@ -0,0 +1,14 @@ + + + + Match on equal value + + u32:0-255 + Equal to value + + + + + + + \ No newline at end of file diff --git a/interface-definitions/include/firewall/gt.xml.i b/interface-definitions/include/firewall/gt.xml.i new file mode 100644 index 000000000..c879171ee --- /dev/null +++ b/interface-definitions/include/firewall/gt.xml.i @@ -0,0 +1,14 @@ + + + + Match on greater then value + + u32:0-255 + Greater then value + + + + + + + diff --git a/interface-definitions/include/firewall/lt.xml.i b/interface-definitions/include/firewall/lt.xml.i new file mode 100644 index 000000000..77894d3ce --- /dev/null +++ b/interface-definitions/include/firewall/lt.xml.i @@ -0,0 +1,14 @@ + + + + Match on less then value + + u32:0-255 + Less then value + + + + + + + -- cgit v1.2.3