Skip to content

Commit

Permalink
link: lookup using link not the hwaddr type
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomaschewski committed Jul 10, 2014
1 parent c5af04f commit e592683
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autoip4/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ ni_autoip4_supported(const ni_netdev_t *ifp)
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));
ni_linktype_type_to_name(ifp->link.type));
return FALSE;
}
return TRUE;
Expand Down
2 changes: 1 addition & 1 deletion dhcp4/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ ni_dhcp4_supported(const ni_netdev_t *ifp)
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));
ni_linktype_type_to_name(ifp->link.type));
return FALSE;
}
return TRUE;
Expand Down
2 changes: 1 addition & 1 deletion dhcp6/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ ni_dhcp6_supported(const ni_netdev_t *ifp)
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));
ni_linktype_type_to_name(ifp->link.type));
return FALSE;
}
return TRUE;
Expand Down

0 comments on commit e592683

Please sign in to comment.