Explorar o código

Add wake on LAN (wol) to rules language ethertype shorthand.

Adam Ierymenko %!s(int64=8) %!d(string=hai) anos
pai
achega
b6f87565a9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      rule-compiler/rule-compiler.js

+ 1 - 0
rule-compiler/rule-compiler.js

@@ -25,6 +25,7 @@ const CHARACTERISTIC_BITS = {
 const ETHERTYPES = {
 	'ipv4': 0x0800,
 	'arp': 0x0806,
+	'wol': 0x0842,
 	'rarp': 0x8035,
 	'ipv6': 0x86dd,
 	'atalk': 0x809b,