Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
dhcpv6
dhcpv6-1.0.22-correct-mac-address-in-DUID-type1...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcpv6-1.0.22-correct-mac-address-in-DUID-type1-generation.patch of Package dhcpv6
--- src/common.c +++ src/common.c 2010/02/17 19:46:42 @@ -803,11 +803,12 @@ int get_duid(const char *idfile, const c goto fail; } } else { - len = calculate_duid_len(ifname, &hwtype); - - if (len == 0) { - goto fail; + if ((len = gethwid(tmpbuf, sizeof(tmpbuf), ifname, &hwtype)) < 0) { + dhcpv6_dprintf(LOG_INFO, "%s" + "failed to get a hardware address", FNAME); + goto fail; } + len += sizeof(struct dhcp6_duid_type1); } memset(duid, 0, sizeof(*duid));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor