X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fnetwork%2Fconfig%2Fnetifd%2Ffiles%2Fetc%2Finit.d%2Fpacket_steering;h=ff4a39073bd2568a32a98333ea984733d9c20b98;hb=7ebcf2fb9c5db8b75666761f5e767c91abb1f437;hp=d6f6afc2e1b5322cb2d91357e228fcd77552087d;hpb=c4d394c6cc0facba94fda5f1cc886edaf342be3a;p=openwrt%2Fstaging%2Fnbd.git diff --git a/package/network/config/netifd/files/etc/init.d/packet_steering b/package/network/config/netifd/files/etc/init.d/packet_steering index d6f6afc2e1..ff4a39073b 100755 --- a/package/network/config/netifd/files/etc/init.d/packet_steering +++ b/package/network/config/netifd/files/etc/init.d/packet_steering @@ -15,9 +15,11 @@ service_triggers() { reload_service() { packet_steering="$(uci get "network.@globals[0].packet_steering")" + steering_flows="$(uci get "network.@globals[0].steering_flows")" + [ "$steering_flows" -gt 0 ] && opts="-l $steering_flows" if [ -e "/usr/libexec/platform/packet-steering.sh" ]; then /usr/libexec/platform/packet-steering.sh "$packet_steering" else - /usr/libexec/network/packet-steering.uc "$packet_steering" + /usr/libexec/network/packet-steering.uc $opts "$packet_steering" fi }