tstest/natlab: change firewall type

phirework/natlab
Jenny Zhang 2022-10-19 14:20:04 -04:00
parent e966f024b0
commit 9c4be13139
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ type SNAT44 struct {
// packets in their "LAN form", i.e. before translation in the
// outbound direction and after translation in the inbound
// direction.
Firewall PacketHandler
Firewall *Firewall
// TimeNow is a function that returns the current time. If
// nil, time.Now is used.
TimeNow func() time.Time