Fix param type

This commit is contained in:
vemax78
2014-03-20 20:22:17 +01:00
parent 3dff1dc28b
commit 1a3e02ac50
2 changed files with 2 additions and 2 deletions

View File

@ -1300,7 +1300,7 @@ void capwap_interface_list(struct capwap_network* net, struct capwap_list* list)
/* */
char* capwap_printf_macaddress(char* buffer, unsigned char* macaddress, int type) {
char* capwap_printf_macaddress(char* buffer, const unsigned char* macaddress, int type) {
if (type == MACADDRESS_EUI48_LENGTH) {
sprintf(buffer, "%02x:%02x:%02x:%02x:%02x:%02x", macaddress[0], macaddress[1], macaddress[2], macaddress[3], macaddress[4], macaddress[5]);
} else if (type == MACADDRESS_EUI64_LENGTH) {