Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
dhcpcd
bnc#577402.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc#577402.diff of Package dhcpcd
--- configure.c.orig 2010-02-09 11:30:58.000000000 +0100 +++ configure.c 2010-02-09 12:05:01.657212130 +0100 @@ -716,6 +716,9 @@ route->netmask.s_addr == 0 && ! options->dogateway) continue; + /* When the gateway is our IP, reset it to create device route for the destination */ + if( route->gateway.s_addr == dhcp->address.s_addr ) + route->gateway.s_addr = INADDR_ANY; /*If the gateway address is not in our network we have to set a route for it */ if (( route->gateway.s_addr != INADDR_ANY ) && ((route->gateway.s_addr & dhcp->netmask.s_addr ) != ( dhcp->address.s_addr & dhcp->netmask.s_addr )))
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