forked from external/yambar
module/network: IFA_ADDRESS: include add/del in log message
This commit is contained in:
parent
24842d9b28
commit
b2af90abbc
1 changed files with 2 additions and 1 deletions
|
@ -323,7 +323,8 @@ handle_address(struct module *mod, uint16_t type,
|
|||
char s[INET6_ADDRSTRLEN];
|
||||
inet_ntop(msg->ifa_family, raw_addr, s, sizeof(s));
|
||||
#endif
|
||||
LOG_DBG("%s: IFA_ADDRESS: %s", m->iface, s);
|
||||
LOG_DBG("%s: IFA_ADDRESS (%s): %s", m->iface,
|
||||
type == RTM_NEWADDR ? "add" : "del", s);
|
||||
|
||||
mtx_lock(&mod->lock);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue