From c8856614c52913e944a01465ed239e228aea0508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AF=A5ID=E6=9A=82=E6=97=A0=E6=98=B5=E7=A7=B0?= Date: Tue, 3 Sep 2024 18:38:21 +0800 Subject: [PATCH] feat: support ipip tunnel as lan/wan interface (#615) --- control/control_plane_core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/control_plane_core.go b/control/control_plane_core.go index ab84170..40b907d 100644 --- a/control/control_plane_core.go +++ b/control/control_plane_core.go @@ -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