Bug 719 - sysctl_local_port_range is int[2] but nsc/sysctl.c uses only strtoint/intotstr conversion in ns-3.5.1
sysctl_local_port_range is int[2] but nsc/sysctl.c uses only strtoint/intotst...
Status: RESOLVED FIXED
Product: nsc
Classification: Unclassified
Component: Linux
unspecified
All All
: P5 normal
Assigned To: Sam Jansen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-14 03:44 UTC by Joerg
Modified: 2009-10-21 14:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg 2009-10-14 03:44:48 UTC
Taken from ns-3.5.1, linux-2.6.26

net/ipv4/sysctl_net_ip4.c:32 says 
extern int sysctl_local_port_range[2];

Shouldn't the parameter passing magic from nsc/sysctl.c:191 use something like convert_strtoint_2, convert_inttostr_2 then?
Comment 1 Sam Jansen 2009-10-21 14:55:33 UTC
Thanks. Fixed in NSC repo.