diff --git a/src/add-ons/kernel/network/devices/tun/tun.cpp b/src/add-ons/kernel/network/devices/tun/tun.cpp index e14813549b..2ad444c9c7 100644 --- a/src/add-ons/kernel/network/devices/tun/tun.cpp +++ b/src/add-ons/kernel/network/devices/tun/tun.cpp @@ -169,7 +169,7 @@ tun_std_ops(int32 op, ...) } -net_device_module_info sLoopbackModule = { +net_device_module_info sTunModule = { { "network/devices/tun/v1", 0, @@ -191,6 +191,6 @@ net_device_module_info sLoopbackModule = { }; module_info* modules[] = { - (module_info*)&sLoopbackModule, + (module_info*)&sTunModule, NULL };