luci-app-wol: add ability to send packet to broadcast address
authorHannu Nyman <hannu.nyman@iki.fi>
Fri, 27 Jan 2017 08:36:12 +0000 (10:36 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 27 Jan 2017 08:37:54 +0000 (10:37 +0200)
commit16bbe45e95d89c61323f5a86401a8ed4287af030
tree4df6d0a8f29ac12916007361322f6eeb87ecdbe2
parentc5b84f2fba12d4779677840c9e2186794f6f85b2
luci-app-wol: add ability to send packet to broadcast address

Add the ability to send the WOL packet to the broadcast address,
if etherwake is used as the wol tool.

Modified from the original idea in #975

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-wol/luasrc/model/cbi/wol.lua