Bug 719

Summary: sysctl_local_port_range is int[2] but nsc/sysctl.c uses only strtoint/intotstr conversion in ns-3.5.1
Product: nsc Reporter: Joerg <joerg.wagner>
Component: LinuxAssignee: Sam Jansen <sam.jansen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: unspecified   
Hardware: All   
OS: All   

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.