fix tc race
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s
This commit is contained in:
@@ -26,6 +26,7 @@ if [[ -n "$BRIDGE" ]] && ip link show "$BRIDGE" >/dev/null 2>&1; then
|
||||
done < <(bridge link show master "$BRIDGE" | awk -F': ' '{print $2}' | awk '{print $1}')
|
||||
fi
|
||||
|
||||
tc qdisc del dev "$MIRROR_IF" clsact 2>/dev/null || true
|
||||
tc qdisc del dev "$CAPTURE_IF" clsact 2>/dev/null || true
|
||||
|
||||
if ip link show "$MIRROR_IF" >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user