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-cmd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcpv6-1.0.22-cmd.patch of Package dhcpv6
Index: dhcpv6-1.0.20/src/resolv_token.l =================================================================== --- dhcpv6-1.0.20.orig/src/resolv_token.l +++ dhcpv6-1.0.20/src/resolv_token.l @@ -154,9 +154,9 @@ int change_resolv_conf if( getuid() != 0 ) return 1; - l = strlen(NETWORK_FUNCTIONS_SCRIPT) + strlen(new_rscf) + 27; + l = strlen(NETWORK_FUNCTIONS_SCRIPT) + strlen(new_rscf) + 3; cmd = (char*)malloc(l); - snprintf(cmd, l, ". %s ; change_resolv_conf %s", + snprintf(cmd, l, "%s %s", NETWORK_FUNCTIONS_SCRIPT, new_rscf); argv[2] = cmd; Index: dhcpv6-1.0.20/include/dhcp6.h =================================================================== --- dhcpv6-1.0.20.orig/include/dhcp6.h +++ dhcpv6-1.0.20/include/dhcp6.h @@ -105,7 +105,7 @@ #endif #define MAXDN 100 -#define NETWORK_FUNCTIONS_SCRIPT "/etc/sysconfig/network-scripts/network-functions" +#define NETWORK_FUNCTIONS_SCRIPT "/usr/sbin/dhcp6c_update.sh" #define RESOLV_CONF_FILE "/etc/resolv.conf" #define RESOLV_CONF_BAK_FILE "/etc/resolv.conf.dhcpv6.bak"
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