perf: Reduce str_to_mac() and inet_addr() calls
This commit is contained in:
@@ -30,7 +30,7 @@ int health_check_session_set_status(uint64_t session_id, int is_active);
|
||||
|
||||
// return 0 : success
|
||||
// return -1 : key not exist
|
||||
int health_check_session_get_mac(uint64_t session_id, char *mac_buff);
|
||||
int health_check_session_get_mac(uint64_t session_id, u_char mac[]);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user