diff --git a/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml b/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml index 5ed4ba4f9..2333bb264 100644 --- a/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml +++ b/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml @@ -4,45 +4,47 @@ OPNsense traffic shaper - - - 1 - 65535 - - Y - - - Y - 899795 - - - Y - Kbit - - bit/s - Kbit/s - Mbit/s - - Bandwidth metric should be one of bit,Kbit,Mbit - - - N - 1 - 100 - - - N - slots - - Slots - bit/s - Kbit/s - Mbit/s - - - - N - - + + + + 1 + 65535 + + Y + + + Y + 899795 + + + Y + Kbit + + bit/s + Kbit/s + Mbit/s + + Bandwidth metric should be one of bit,Kbit,Mbit + + + N + 1 + 100 + + + N + slots + + Slots + bit/s + Kbit/s + Mbit/s + + + + N + + + diff --git a/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf b/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf index 375bbb6d8..e753eb023 100644 --- a/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf +++ b/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf @@ -24,6 +24,13 @@ #====================================================================================== flush +#====================================================================================== +# define dummynet pipes +#====================================================================================== +{% if helpers.exists('OPNsense.TrafficShaper.pipe') %} + +{% endif %} + #====================================================================================== # general purpose rules 1...1000 #======================================================================================