OSDN Git Service

Re-numbering log.
[ultramonkey-l7/ultramonkey-l7-v2.git] / module / protocol / protomod_pfilter.c
index 1182f4b..0490f5f 100644 (file)
@@ -594,7 +594,7 @@ analyze_cldata(struct l7vs_service *srv, struct l7vs_conn *conn,
                else {
                        strncpy(len_str, "NULL", DEBUG_STR_LEN);
                }
-               PUT_LOG_DEBUG(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,296,
+               PUT_LOG_DEBUG(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,334,
                    "in_function: int analyze_cldata(struct l7vs_service* srv, struct l7vs_conn* conn, "
                    "char* request, size_t* len):srv=&(%s), conn=&(%s), "
                    "request=\"%s\", len=&(%s))",
@@ -604,22 +604,22 @@ analyze_cldata(struct l7vs_service *srv, struct l7vs_conn *conn,
 
        /* check null */
        if (srv == NULL) {
-               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,253, "Arg(srv) is NULL pointer.");
+               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,329, "Arg(srv) is NULL pointer.");
                return_value = -1;
                goto analyze_cldata_out;
        }
        if (srv->pm == NULL) {
-               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,254, "Arg(srv->pm) is NULL pointer.");
+               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,330, "Arg(srv->pm) is NULL pointer.");
                return_value = -1;
                goto analyze_cldata_out;
        }
        if (request == NULL) {
-               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,255, "Arg(request) is NULL pointer.");
+               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,331, "Arg(request) is NULL pointer.");
                return_value = -1;
                goto analyze_cldata_out;
        }
        if (len == NULL) {
-               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,256, "Arg(len) is NULL pointer.");
+               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,332, "Arg(len) is NULL pointer.");
                return_value = -1;
                goto analyze_cldata_out;
        }
@@ -632,13 +632,13 @@ analyze_cldata(struct l7vs_service *srv, struct l7vs_conn *conn,
            LOG_LV_DEBUG == pfilter_protomod.get_log_level(LOG_CAT_L7VSD_PROTOCOL)) {
                char pfilter_str[DEBUG_STR_LEN] = {0};
                l7vs_pfilter_service_c_str(pfilter_str, pfilter_service);
-               PUT_LOG_DEBUG(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,297, "pointer assign: pfilter_service=&(%s)",
+               PUT_LOG_DEBUG(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,335, "pointer assign: pfilter_service=&(%s)",
                    pfilter_str);
        }
        /*------ DEBUG LOG END ------*/
 
        if (pfilter_service == NULL) {
-               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,259, "Could not find such service handle's pfilter service.");
+               PUT_LOG_ERROR(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,333, "Could not find such service handle's pfilter service.");
                return_value = -1;
                goto analyze_cldata_out;
        }
@@ -671,7 +671,7 @@ analyze_cldata_out:
        /*-------- DEBUG LOG --------*/
        if (pfilter_protomod.get_log_level != NULL &&
            LOG_LV_DEBUG == pfilter_protomod.get_log_level(LOG_CAT_L7VSD_PROTOCOL)) {
-               PUT_LOG_DEBUG(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,298,
+               PUT_LOG_DEBUG(pfilter_protomod, LOG_CAT_L7VSD_PROTOCOL,336,
                    "out_function: int analyze_cldata(struct l7vs_service* srv, struct l7vs_conn* conn, "
                    "char* request, size_t* len):return_value=%d",
                    return_value);