CLATD_LOG(LOG_INFO, "Starting clat version %s on %s netid=%s mark=%s",
CLATD_VERSION, uplink_interface,net_id_str ? net_id_str : "(none)",
- mark_str ? mark_str : "(none)",
- plat_prefix ? plat_prefix : "(none)",
- v4_addr ? v4_addr : "(none)",
- v6_addr ? v6_addr : "(none)");
+ mark_str ? mark_str : "(none)");
if (!has_specific_nameserver())
// run under a regular user but keep needed capabilities
strncpy(ifr.ifr_name, if_name, IFNAMSIZ);
ifr.ifr_name[IFNAMSIZ - 1] = 0;
- CLATD_LOG(LOG_INFO, "ifr_name %", ifr.ifr_name);
+ CLATD_LOG(LOG_INFO, "ifr_name %s", ifr.ifr_name);
if (ioctl(sockfd, SIOCGIFADDR, &ifr) < 0) {
CLATD_LOG(LOG_ERROR, "Failed to get if addr");
} else {