Revert filter_input change
This commit is contained in:
parent
1e1921e2ac
commit
899309c4eb
|
@ -43,7 +43,7 @@ func (FilterInputDropUDP) Name() string {
|
|||
|
||||
// ContainerAction implements TestCase.ContainerAction.
|
||||
func (FilterInputDropUDP) ContainerAction(ip net.IP) error {
|
||||
if err := filterTable("-A", "INPUT", "-j", "ACCEPT"); err != nil {
|
||||
if err := filterTable("-A", "INPUT", "-p", "udp", "-j", "DROP"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue