[packetimpact] Fix typo in comment

PiperOrigin-RevId: 501057728
This commit is contained in:
Nick Brown
2023-01-10 12:04:24 -08:00
committed by gVisor bot
parent 2db971f526
commit c4976f7d81
+1 -1
View File
@@ -503,7 +503,7 @@ func withSavedNetNS(f func() error) error {
return err
}
defer func() {
// Resotre the namespace when we return from f.
// Restore the namespace when we return from f.
if err := unix.Setns(saved, unix.CLONE_NEWNET); err != nil {
panic(fmt.Sprintf("setns(%d, CLONE_NEWNET) = %s", saved, err))
}