summaryrefslogtreecommitdiffstats
path: root/src/obj/tunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/obj/tunnel.c')
-rw-r--r--src/obj/tunnel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/obj/tunnel.c b/src/obj/tunnel.c
index 19a3639..72985ee 100644
--- a/src/obj/tunnel.c
+++ b/src/obj/tunnel.c
@@ -76,8 +76,6 @@ nftnl_obj_tunnel_set(struct nftnl_obj *e, uint16_t type,
case NFTNL_OBJ_TUNNEL_ERSPAN_V2_DIR:
memcpy(&tun->u.tun_erspan.u.v2.dir, data, sizeof(tun->u.tun_erspan.u.v2.dir));
break;
- default:
- return -1;
}
return 0;
}