mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
add TODO: maybe MACFetcher can be implemented using Java internal APIs
This commit is contained in:
parent
79a269ecf6
commit
bf97480532
@ -7,6 +7,7 @@ import java.net.InetAddress;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
// TODO: try using java.net.NetworkInterface.getMacAddr0 with reflection instead
|
||||
public abstract class MACFetcher extends AbstractFetcher {
|
||||
public static final String ID = "fetcher.mac";
|
||||
static final Pattern macAddressPattern = Pattern.compile("([a-fA-F0-9]{1,2}[-:]){5}[a-fA-F0-9]{1,2}");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user