mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 20:54:41 +07:00
feat: support ipip tunnel as lan/wan interface (#615)
This commit is contained in:
parent
c5b596c293
commit
c8856614c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user