Skip to content

Commit

Permalink
Merge pull request #218 from mtomaschewski/bnc874561
Browse files Browse the repository at this point in the history
dhcp,autoip: log unsupported devices in debug1 level
  • Loading branch information
kmroz committed Apr 22, 2014
2 parents e873d1a + bef7bd7 commit 2be3a53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions autoip4/main.c
Expand Up @@ -302,8 +302,10 @@ ni_autoip4_supported(const ni_netdev_t *ifp)
}
break;
default:
ni_debug_autoip("%s: AutoIP not supported on %s interfaces",
ifp->name, ni_linktype_type_to_name(ifp->link.hwaddr.type));
ni_debug_verbose(NI_LOG_DEBUG1, NI_TRACE_AUTOIP,
"%s: AutoIP not supported on %s interfaces",
ifp->name,
ni_linktype_type_to_name(ifp->link.hwaddr.type));
return FALSE;
}
return TRUE;
Expand Down
3 changes: 2 additions & 1 deletion dhcp4/main.c
Expand Up @@ -394,7 +394,8 @@ ni_dhcp4_supported(const ni_netdev_t *ifp)
}
break;
default:
ni_debug_dhcp("%s: DHCPv4 not supported on %s interfaces",
ni_debug_verbose(NI_LOG_DEBUG1, NI_TRACE_DHCP,
"%s: DHCPv4 not supported on %s interfaces",
ifp->name,
ni_linktype_type_to_name(ifp->link.hwaddr.type));
return FALSE;
Expand Down
3 changes: 2 additions & 1 deletion dhcp6/main.c
Expand Up @@ -335,7 +335,8 @@ ni_dhcp6_supported(const ni_netdev_t *ifp)
}
break;
default:
ni_debug_dhcp("%s: DHCPv6 not supported on %s interfaces",
ni_debug_verbose(NI_LOG_DEBUG1, NI_TRACE_DHCP,
"%s: DHCPv6 not supported on %s interfaces",
ifp->name,
ni_linktype_type_to_name(ifp->link.hwaddr.type));
return FALSE;
Expand Down

0 comments on commit 2be3a53

Please sign in to comment.