feat: support ipip tunnel as lan/wan interface (#615)

This commit is contained in:
该ID暂无昵称 2024-09-03 18:38:21 +08:00 committed by GitHub
parent c5b596c293
commit c8856614c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,7 +142,7 @@ func (c *controlPlaneCore) mapLinkType(ifname string) error {
}
var linkHdrLen uint32
switch link.Attrs().EncapType {
case "none":
case "none", "ipip":
linkHdrLen = consts.LinkHdrLen_None
case "ether":
linkHdrLen = consts.LinkHdrLen_Ethernet