mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
qosmngr: ebtables rules race condition fix
This commit is contained in:
parent
2d11f25204
commit
9ae9af2acf
1 changed files with 2 additions and 2 deletions
|
|
@ -392,10 +392,10 @@ create_ebtables_chains() {
|
|||
ebtables -t broute -N qos 2> /dev/null
|
||||
ret=$?
|
||||
if [ $ret -eq 0 ]; then
|
||||
ebtables -t broute -I BROUTING -j qos
|
||||
ebtables -t broute -A BROUTING -j qos
|
||||
else
|
||||
ebtables -t broute -D BROUTING -j qos
|
||||
ebtables -t broute -I BROUTING -j qos
|
||||
ebtables -t broute -A BROUTING -j qos
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue