]> git.ipfire.org Git - people/ms/network.git/commit
header-zone: refactor hook_config_edit
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 5 Jul 2017 14:19:51 +0000 (16:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jul 2017 15:11:57 +0000 (17:11 +0200)
commit9ee04d82009249b4f4e33e8d1389b648998c3315
treeda425341f5c3988e55892d8a691712b416fcc92c
parent6002aef136fd915932c615b09234cac60d59604c
header-zone: refactor hook_config_edit

With the new id function this function gets a zone name and a id,
but hook_config_cmd needs also the name of the hook.

So this function now calls zone_config_get_hook_from_id to get the hook
and calls then hook_config_cmd with the correct argument order.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/header-zone