summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases/iptables/0005-delete-rules_0
blob: 9312fd53c3437c15759d5a0b8f32781331bc7c36 (plain)
1
2
3
4
5
6
7
#!/bin/bash

# test for crash when comparing rules with standard target

$XT_MULTI iptables -A FORWARD -i eth23 -o eth42 -j DROP
$XT_MULTI iptables -D FORWARD -i eth23 -o eth42 -j REJECT
[[ $? -eq 1 ]] || exit 1