ericpaulbishop / gargoyle

Gargoyle Router Management Utility
http://www.gargoyle-router.com
467 stars 221 forks source link

Bug in /usr/lib/gargoyle/define_host_vars.sh #909

Closed obsy closed 3 years ago

obsy commented 3 years ago

host.js and wol.js parse arpLines and skip first line, see https://github.com/ericpaulbishop/gargoyle/blob/master/package/gargoyle/files/www/js/hosts.js#L242

But that's bad, after https://github.com/ericpaulbishop/gargoyle/commit/88808f5038ba850471cecf632fabf4234d5fe5bb array has no header, so first line should not be skipped.

Drop "skip" or add fake header to array...