Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
net-tools
net-tools-1.60-netstat_retval.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-tools-1.60-netstat_retval.diff of Package net-tools
--- netstat.c 2009-12-21 15:28:40.000000000 +0530 +++ netstat.c 2009-12-21 15:59:54.000000000 +0530 @@ -2190,6 +2190,7 @@ int main if (!afname[0]) { inittab(); parsesnmp(flag_raw, flag_tcp, flag_udp, flag_sctp); + return 0; } else { safe_strncpy(buf, afname, sizeof(buf)); tmp1 = buf; @@ -2199,9 +2200,14 @@ int main #if HAVE_AFINET6 inittab6(); parsesnmp6(flag_raw, flag_tcp, flag_udp, flag_sctp); + return 0; #else printf("Address type not supported for stats\n"); #endif + } else if(!strncmp(buf,"inet",4)) { + inittab(); + parsesnmp(flag_raw, flag_tcp, flag_udp, flag_sctp); + return 0; } else { printf("Address type not supported for stats\n"); }
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