We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b5f16 commit d05a393Copy full SHA for d05a393
modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/CefProcessorTests.java
@@ -970,6 +970,13 @@ public void testToMacAddressWithSeparators() {
970
});
971
}
972
973
+ public void testInvalidMacAddressSeparator() {
974
+ CefParser parser = new CefParser(ZoneId.of("UTC"), false);
975
+ String macAddress = "00|0D|60|AF|1B|61";
976
+ String result = parser.toMACAddress(macAddress);
977
+ assertEquals("00|0D|60|AF|1B|61", result);
978
+ }
979
+
980
public void testEUI48ToMacAddressWithOutSeparators() {
981
CefParser parser = new CefParser(ZoneId.of("UTC"), false);
982
String macAddress = "000D60AF1B61";
0 commit comments