diff --git a/plugin/business/traffic-mirror/src/entry.cpp b/plugin/business/traffic-mirror/src/entry.cpp index e435534..3f34c7d 100644 --- a/plugin/business/traffic-mirror/src/entry.cpp +++ b/plugin/business/traffic-mirror/src/entry.cpp @@ -408,13 +408,7 @@ static int traffic_mirror_ethdev_init(struct traffic_mirror_instance * instance) unsigned int device_type; MESA_load_profile_uint_def(profile, "traffic_mirror", "type", &device_type, TRAFFIC_MIRROR_ETHDEV_AF_PACKET); - ret = MESA_load_profile_string_nodef(profile, "traffic_mirror", "app_symbol", app_symbol, sizeof(app_symbol)); - if (ret < 0) - { - TFE_LOG_ERROR(instance->logger, "failed at reading conffile, " - "[traffic_mirror]app_symbol is not defined."); - return -1; - } + MESA_load_profile_string_def(profile, "traffic_mirror", "app_symbol", app_symbol, sizeof(app_symbol), "tfe-traffic-mirror"); if (device_type == TRAFFIC_MIRROR_ETHDEV_AF_PACKET) {