mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@82 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
parent
c5d190bc67
commit
a26edc96b9
@ -4,11 +4,6 @@
|
||||
package net.azib.ipscan.feeders;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
import net.azib.ipscan.core.InetAddressUtils;
|
||||
|
||||
import org.savarese.vserv.tcpip.OctetConverter;
|
||||
|
||||
/**
|
||||
* Smart text feeder for advenced users.
|
||||
@ -24,8 +19,6 @@ import org.savarese.vserv.tcpip.OctetConverter;
|
||||
*/
|
||||
public class SmartTextFeeder implements Feeder {
|
||||
|
||||
private String netmask;
|
||||
|
||||
public String getLabel() {
|
||||
return null;
|
||||
}
|
||||
@ -41,11 +34,11 @@ public class SmartTextFeeder implements Feeder {
|
||||
// extract netmask
|
||||
int slashPos = text.indexOf('/');
|
||||
if (slashPos >= 0) {
|
||||
netmask = text.substring(slashPos+1);
|
||||
//netmask = text.substring(slashPos+1);
|
||||
text = text.substring(0, slashPos);
|
||||
}
|
||||
|
||||
String[] tokens = text.split("\\.");
|
||||
//String[] tokens = text.split("\\.");
|
||||
// TODO: use port list parsing code here
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user