#62 mksirange : Adding 10.0.1.2 after 10.0.1.21

open
nobody
5
2003-04-09
2003-04-09
No

This bug is better explained with exemple:
Adding the node 10.0.1.2 AFTER 10.0.1.21 or
Adding the node 10.0.1.3 AFTER 10.0.1.31
using the script /usr/bin/mksirange cause the following error message
:
ŤIP address 10.0.1.2 is in use by another machine.
New machines conflict with existing machines, exitting.ť

This is because you use grep to verify if the new ip (10.0.1.2) already
exists in the @ip array. But grep sees 10.0.1.21 and then stops.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks