Ver código fonte

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

Adam Ierymenko 8 anos atrás
pai
commit
b6f87565a9
1 arquivos alterados com 1 adições e 0 exclusões
  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,