summaryrefslogtreecommitdiff
path: root/data/templates/conntrackd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-15 10:55:33 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-15 10:55:33 +0200
commit7792b5319695098418de562dad87bbc0fef6d19c (patch)
tree12d3eb3cb2b8a64d97b80874aadfbff54b54172a /data/templates/conntrackd
parente2978bb452c4ad3c3caf532c8f2204d7615c881e (diff)
downloadvyos-1x-7792b5319695098418de562dad87bbc0fef6d19c.tar.gz
vyos-1x-7792b5319695098418de562dad87bbc0fef6d19c.zip
conntrack: T3535: add support for icmp6 and dccp
Diffstat (limited to 'data/templates/conntrackd')
-rw-r--r--data/templates/conntrackd/conntrackd.conf.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/conntrackd/conntrackd.conf.tmpl b/data/templates/conntrackd/conntrackd.conf.tmpl
index 6f9fa51b0..fdaac7275 100644
--- a/data/templates/conntrackd/conntrackd.conf.tmpl
+++ b/data/templates/conntrackd/conntrackd.conf.tmpl
@@ -95,7 +95,11 @@ General {
{% if accept_protocol is defined and accept_protocol is not none %}
Protocol Accept {
{% for protocol in accept_protocol %}
+{% if protocol == 'icmp6' %}
+ IPv6-ICMP
+{% else %}
{{ protocol | upper }}
+{% endif %}
{% endfor %}
}
{% endif %}