diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-17 18:02:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 18:02:49 +0100 |
commit | 92c3ce9fbc266bbbd89a40fe0c98d6db1a4f4c2c (patch) | |
tree | 0a37d9f887ac862cbd6f8122b88e8f4eafa1f582 /data | |
parent | da42b37983e75dc4587160036be9eb71df4e4989 (diff) | |
parent | 57c06dcd78f9b711c4fb46e6657b0a496059a685 (diff) | |
download | vyos-1x-92c3ce9fbc266bbbd89a40fe0c98d6db1a4f4c2c.tar.gz vyos-1x-92c3ce9fbc266bbbd89a40fe0c98d6db1a4f4c2c.zip |
Merge pull request #1897 from sever-sever/T5086
T5086: Add sFlow drop-monitor-limit option
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/sflow/hsflowd.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/sflow/hsflowd.conf.j2 b/data/templates/sflow/hsflowd.conf.j2 index 7ce6554d7..94f5939be 100644 --- a/data/templates/sflow/hsflowd.conf.j2 +++ b/data/templates/sflow/hsflowd.conf.j2 @@ -25,4 +25,7 @@ sflow { pcap { dev={{ iface }} } {% endfor %} {% endif %} +{% if drop_monitor_limit is vyos_defined %} + dropmon { limit={{ drop_monitor_limit }} start=on sw=on hw=off } +{% endif %} } |