(port uint16)
| 829 | } |
| 830 | |
| 831 | func (ns *Impl) isLoopbackPort(port uint16) bool { |
| 832 | if ns.loopbackPort != nil && int(port) == *ns.loopbackPort { |
| 833 | return true |
| 834 | } |
| 835 | return false |
| 836 | } |
| 837 | |
| 838 | // handleLocalPackets is hooked into the tun datapath for packets leaving |
| 839 | // the host and arriving at tailscaled. This method returns filter.DropSilently |