]> tinc-vpn.org Git - tinc/blobdiff - src/route.c
Fix incorrect format qualifiers.
[tinc] / src / route.c
index 43d26972a6465af91f8d868c4dd0805b5c0aece7..8c65c4c14c7d2828fdef79740bcda70c432f5147 100644 (file)
@@ -223,7 +223,7 @@ static void learn_mac(mac_t *address) {
        /* If we don't know this MAC address yet, store it */
 
        if(!subnet) {
        /* If we don't know this MAC address yet, store it */
 
        if(!subnet) {
-               logger(DEBUG_TRAFFIC, LOG_INFO, "Learned new MAC address %hx:%hx:%hx:%hx:%hx:%hx",
+               logger(DEBUG_TRAFFIC, LOG_INFO, "Learned new MAC address %x:%x:%x:%x:%x:%x",
                                   address->x[0], address->x[1], address->x[2], address->x[3],
                                   address->x[4], address->x[5]);
 
                                   address->x[0], address->x[1], address->x[2], address->x[3],
                                   address->x[4], address->x[5]);