| 75 | } |
| 76 | |
| 77 | type ForwardingRule struct { |
| 78 | RuleProtocol string |
| 79 | DestinationPorts RulePortRange |
| 80 | TranslatedAddress net.IP |
| 81 | TranslatedPorts RulePortRange |
| 82 | } |
| 83 | |
| 84 | func (f *ForwardingRule) ToProto() *proto.ForwardingRule { |
| 85 | var protocol proto.RuleProtocol |
nothing calls this directly
no outgoing calls
no test coverage detected