mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 08:12:53 +00:00
nss-ecm: fix compilation undefined dev when tunipip6 is enabled
Resolves the following error ``` 'dev' undeclared (first use in this function) ``` Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
6895d8bb10
commit
709ddc324a
@ -0,0 +1,11 @@
|
||||
--- a/frontends/nss/ecm_nss_non_ported_ipv6.c
|
||||
+++ b/frontends/nss/ecm_nss_non_ported_ipv6.c
|
||||
@@ -342,7 +342,7 @@ static void ecm_nss_non_ported_ipv6_conn
|
||||
ip_addr_t src_ip;
|
||||
ip_addr_t dest_ip;
|
||||
ecm_front_end_acceleration_mode_t result_mode;
|
||||
-#if defined(ECM_INTERFACE_GRE_TAP_ENABLE) || defined(ECM_INTERFACE_GRE_TUN_ENABLE)
|
||||
+#if defined(ECM_INTERFACE_GRE_TAP_ENABLE) || defined(ECM_INTERFACE_GRE_TUN_ENABLE) || defined(ECM_INTERFACE_TUNIPIP6_ENABLE)
|
||||
struct net_device *dev;
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user