Skip to content

Commit

Permalink
#261 actually load separator from preferences on start
Browse files Browse the repository at this point in the history
  • Loading branch information
angryziber committed Jan 22, 2021
1 parent e1eb3a9 commit a4109ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/azib/ipscan/fetchers/MACFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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}");
static final Pattern leadingZeroesPattern = Pattern.compile("(?<=^|-|:)([A-F0-9])(?=-|:|$)");
String separator = ":";
String separator = getPreferences().get("separator", ":");

@Override public String getId() {
return ID;
Expand Down

1 comment on commit a4109ab

@wall46
Copy link

@wall46 wall46 commented on a4109ab Jan 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great. The option is hidden in the Fetcher Preference.
Thanks a lot and a happy new year.
Maybe some day you find time for my proposal for a MAC template as I suggested in #261
Anyhow, I'm very pleased. Thank you

Please sign in to comment.