mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Revert filter_input change
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user