search for: end_ip

Displaying 3 results from an estimated 3 matches for "end_ip".

Did you mean: end_io
2008 Mar 30
3
Bignums, integers and migrations
..., but when running it from migrations only very low IP-ranges "make it thru". Integer-based IPs seem to be capped around 2150000000. def self.up require ''ipaddr'' @ips = GeoIpDatabase.find(:all) @ips.each do |ip| start_ip = IPAddr.new(ip.start_ip) end_ip = IPAddr.new(ip.end_ip) new_ip = Ip.new( :start_ip => start_ip.to_s, :end_ip => end_ip.to_s, :start_ip_integer => start_ip.to_i, :end_ip_integer => end_ip.to_i ) new_ip.save end end I''m using MySQL, with the integer-columns migrated as, yes, integers ;) Anyon...
2012 Sep 06
1
nut-scanner pthread issue
...ntq(quiet,"No start IP, skipping SNMP\n"); } else { printq(quiet,"Scanning SNMP bus.\n"); #ifdef HAVE_PTHREAD if( pthread_create(&thread[TYPE_SNMP],NULL,run_snmp,&snmp_sec)) { nutscan_avail_snmp = 0; } #else dev[TYPE_SNMP] = nutscan_scan_snmp(start_ip,end_ip,timeout,&snmp_sec); #endif /* HAVE_PTHREAD */ } } ============================== if start_ip==NULL, pthread is not created, but later... if( allow_snmp && nutscan_avail_snmp && thread[TYPE_SNMP]) { pthread_join(thread[TYPE_SNMP],NULL); } it calls pthread_join with threa...
2015 May 07
2
[LLVMdev] Recent libc++ failures due to libunwind
...n () (gdb) frame 1 #1 0x00007ffff73d00ce in unw_get_proc_info (cursor=0x7fffffffd940, info=0x7fffffffd520) at ../projects/libunwind/src/libunwind.cpp:237 237 co->getInfo(info); (gdb) print info $1 = (unw_proc_info_t *) 0x7fffffffd520 (gdb) print *info $2 = {start_ip = 140737343503848, end_ip = 140733193388033, lsda = 4223808, handler = 140737488344512, gp = 0, flags = 140737354131160, format = 4194368, unwind_info_size = 0, unwind_info = 9, extra = 8} Checking recent logs didn't reveal anything obvious so I'd be happy if you guys have any ideas about this. This is on a Linux...