diff options
| author | liuxueli <[email protected]> | 2019-12-25 11:17:29 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2019-12-25 11:17:29 +0800 |
| commit | 261d36fc871333cdaffb715d336f7500973f2f87 (patch) | |
| tree | 99d85fa1a708fd4c5ba3fb92957eb84002f73ce0 /src | |
| parent | bb28ec07931a0f1262999299c6e8996069057ba4 (diff) | |
调整参数默认值
调整预安装脚本
Diffstat (limited to 'src')
| -rw-r--r-- | src/ntc_radius_plug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntc_radius_plug.cpp b/src/ntc_radius_plug.cpp index 3dc5e78..f0ac373 100644 --- a/src/ntc_radius_plug.cpp +++ b/src/ntc_radius_plug.cpp @@ -336,7 +336,7 @@ int NTC_RADIUS_PLUG_INIT(void) rd_kafka_topic_conf_t *topic_conf; memset(&g_ntc_radius_plug,0,sizeof(g_ntc_radius_plug_t)); - MESA_load_profile_string_def(config_file, "RADIUS_PLUG", "NIC_NAME", nic_name, sizeof(nic_name), "eth0"); + MESA_load_profile_string_def(config_file, "RADIUS_PLUG", "NIC_NAME", nic_name, sizeof(nic_name), "lo"); MESA_load_profile_string_def(config_file, "RADIUS_PLUG","LOG_PATH",g_ntc_radius_plug.pathname, sizeof(g_ntc_radius_plug.pathname), "./log/ntc_radius_plug/ntc_radius_plug"); MESA_load_profile_int_def(config_file, "RADIUS_PLUG", "SERVICE_ID", &g_ntc_radius_plug.service_id, 0xA2); MESA_load_profile_int_def(config_file, "RADIUS_PLUG","LOG_LEVEL", &g_ntc_radius_plug.level, RLOG_LV_FATAL); |
