hooks: Automatically set defaults for all port hooks
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 12:03:59 +0000 (13:03 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 12:03:59 +0000 (13:03 +0100)
commit4637109c42417e34c02631cd8391bccc7f2733cb
treec83ca973f1cbb2deeb0c5127922a89da3a7dff49
parent27380e6e6343faa0b2c1a87234ecf21ecc6f0840
hooks: Automatically set defaults for all port hooks

Before, this was broken so that all configuration parameters
had to be passed all the time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.hook
src/header-port
src/hooks/ports/bonding
src/hooks/ports/wireless-ap