wgengine/tstun: fix typo in comment

main
Brad Fitzpatrick 6 years ago
parent 73cc2d8f89
commit 01098f41d0
  1. 2
      wgengine/tstun/tun.go

@ -376,7 +376,7 @@ func (t *TUN) InjectInboundDirect(buf []byte, offset int) error {
}
// InjectInboundCopy takes a packet without leading space,
// reallocates it to conform to the InjectInbondDirect interface
// reallocates it to conform to the InjectInboundDirect interface
// and calls InjectInboundDirect on it. Injecting a nil packet is a no-op.
func (t *TUN) InjectInboundCopy(packet []byte) error {
// We duplicate this check from InjectInboundDirect here

Loading…
Cancel
Save