Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
yate-bts
yatebts-sgsnggsn-inetutils-hostname-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yatebts-sgsnggsn-inetutils-hostname-fix.diff of Package yate-bts
diff --git a/mbts/SGSNGGSN/iputils.cpp b/mbts/SGSNGGSN/iputils.cpp index 979ae3a..49bb0ff 100644 --- a/mbts/SGSNGGSN/iputils.cpp +++ b/mbts/SGSNGGSN/iputils.cpp @@ -466,7 +466,7 @@ EXPORT uint32_t *ip_findmyaddr() const int maxaddrs = 5; static uint32_t addrs[maxaddrs+1]; int n = 0; - int fd = runcmd("|/bin/hostname","hostname","-I", NULL); + int fd = runcmd("|/bin/hostname","hostname","-i", NULL); if (fd < 0) { failed: addrs[0] = (unsigned) -1; // converts to all 1s
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