summaryrefslogtreecommitdiff
path: root/kni_intercept.c
diff options
context:
space:
mode:
Diffstat (limited to 'kni_intercept.c')
-rw-r--r--kni_intercept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kni_intercept.c b/kni_intercept.c
index a8a9717..1762636 100644
--- a/kni_intercept.c
+++ b/kni_intercept.c
@@ -439,7 +439,7 @@ int tun_alloc_mq(char *dev, int queues, int *fds,char* tun_path)
MESA_load_profile_string_def((char*)KNI_CONF_FILENAME,(char*)KNI_TUN_MODE,(char*)"tun_path",tun_path,KNI_CONF_MAXLEN,"/dev/net/tun");
MESA_load_profile_string_def((char*)KNI_CONF_FILENAME,(char*)KNI_TUN_MODE,(char*)"tun_name",g_kni_comminfo.tun_name,KNI_CONF_MAXLEN,"tun0");
- MESA_load_profile_int_def((char*)KNI_CONF_FILENAME,(char*)KNI_STATIC_MAAT_MODE,(char*)"tun_num",&(g_kni_comminfo.tun_num),1);
+ MESA_load_profile_int_def((char*)KNI_CONF_FILENAME,(char*)KNI_TUN_MODE,(char*)"tun_num",&(g_kni_comminfo.tun_num),1);
if(g_kni_comminfo.tun_num<=0)