mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 21:05:06 +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
|
var linkHdrLen uint32
|
||||||
switch link.Attrs().EncapType {
|
switch link.Attrs().EncapType {
|
||||||
case "none":
|
case "none", "ipip":
|
||||||
linkHdrLen = consts.LinkHdrLen_None
|
linkHdrLen = consts.LinkHdrLen_None
|
||||||
case "ether":
|
case "ether":
|
||||||
linkHdrLen = consts.LinkHdrLen_Ethernet
|
linkHdrLen = consts.LinkHdrLen_Ethernet
|
||||||
|
Loading…
Reference in New Issue
Block a user