diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-03 20:23:09 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-03 20:23:09 +0100 |
commit | bb78f3a9ad28f62896a536719783011794deb64c (patch) | |
tree | 8dfe129772c4ce94744f24c984e720bf94c98b6f /interface-definitions/include/static | |
parent | e3f86ce0d65fe8fe0c5eebebdfd3ab3723e2e539 (diff) | |
download | vyos-1x-bb78f3a9ad28f62896a536719783011794deb64c.tar.gz vyos-1x-bb78f3a9ad28f62896a536719783011794deb64c.zip |
static: T4283: support "reject" routes - emit an ICMP unreachable when matched
Diffstat (limited to 'interface-definitions/include/static')
3 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/static/static-route-reject.xml.i b/interface-definitions/include/static/static-route-reject.xml.i new file mode 100644 index 000000000..81d4f9afd --- /dev/null +++ b/interface-definitions/include/static/static-route-reject.xml.i @@ -0,0 +1,12 @@ +<!-- include start from static/static-route-blackhole.xml.i --> +<node name="reject"> + <properties> + <help>Emit an ICMP unreachable when matched</help> + </properties> + <children> + #include <include/static/static-route-distance.xml.i> + #include <include/static/static-route-tag.xml.i> + </children> +</node> +<!-- include end --> + diff --git a/interface-definitions/include/static/static-route.xml.i b/interface-definitions/include/static/static-route.xml.i index 8433703a5..2de5dc58f 100644 --- a/interface-definitions/include/static/static-route.xml.i +++ b/interface-definitions/include/static/static-route.xml.i @@ -12,6 +12,7 @@ </properties> <children> #include <include/static/static-route-blackhole.xml.i> + #include <include/static/static-route-reject.xml.i> #include <include/dhcp-interface.xml.i> <tagNode name="interface"> <properties> diff --git a/interface-definitions/include/static/static-route6.xml.i b/interface-definitions/include/static/static-route6.xml.i index 124b2b062..35feef41c 100644 --- a/interface-definitions/include/static/static-route6.xml.i +++ b/interface-definitions/include/static/static-route6.xml.i @@ -12,6 +12,7 @@ </properties> <children> #include <include/static/static-route-blackhole.xml.i> + #include <include/static/static-route-reject.xml.i> <tagNode name="interface"> <properties> <help>IPv6 gateway interface name</help> |