tailscale/types/ipproto
James Tucker c1ef55249a types/ipproto: import and test string parsing for ipproto
IPProto has been being converted to and from string formats in multiple
locations with variations in behavior. TextMarshaller and JSONMarshaller
implementations are now added, along with defined accepted and preferred
formats to centralize the logic into a single cross compatible
implementation.

Updates tailscale/corp#15043
Fixes tailscale/corp#15141

Signed-off-by: James Tucker <james@tailscale.com>
2023-10-11 18:56:33 -07:00
..
ipproto.go types/ipproto: import and test string parsing for ipproto 2023-10-11 18:56:33 -07:00
ipproto_test.go types/ipproto: import and test string parsing for ipproto 2023-10-11 18:56:33 -07:00