summaryrefslogtreecommitdiff
path: root/rule-compiler/rule-compiler.js
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 16:03:43 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 16:03:43 -0800
commitb6f87565a9b63c0695b48d8dd0036ac7fe080142 (patch)
tree1593db9e1bd58a6aac171c7d348df400418a69c8 /rule-compiler/rule-compiler.js
parent0b909997b83cec497ff2e3f6a3041a76d0f3b483 (diff)
downloadinfinitytier-b6f87565a9b63c0695b48d8dd0036ac7fe080142.tar.gz
infinitytier-b6f87565a9b63c0695b48d8dd0036ac7fe080142.zip
Add wake on LAN (wol) to rules language ethertype shorthand.
Diffstat (limited to 'rule-compiler/rule-compiler.js')
-rw-r--r--rule-compiler/rule-compiler.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rule-compiler/rule-compiler.js b/rule-compiler/rule-compiler.js
index be4e5c64..7445d39f 100644
--- a/rule-compiler/rule-compiler.js
+++ b/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,