Revert filter_input change

This commit is contained in:
Kevin Krakauer 2020-01-08 11:16:41 -08:00
parent 1e1921e2ac
commit 899309c4eb
1 changed files with 1 additions and 1 deletions

View File

@ -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
}