aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/generated.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/csource/generated.go')
-rw-r--r--pkg/csource/generated.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index ee9517117..266ce6597 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -1734,7 +1734,7 @@ static void initialize_tun(int tun_id)
execute_command(0, "ifconfig %s destroy", tun_iface);
execute_command(0, "ifconfig %s create", tun_iface);
#else
- execute_command(0, "ifconfig %s destroy", tun_device);
+ execute_command(0, "ifconfig %s destroy", tun_iface);
#endif
tunfd = open(tun_device, O_RDWR | O_NONBLOCK);