]> git.ipfire.org Git - people/ms/network.git/commit - src/header-zone
header-zone: refactor hook_config_destroy
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 5 Jul 2017 14:19:50 +0000 (16:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jul 2017 15:11:14 +0000 (17:11 +0200)
commit6002aef136fd915932c615b09234cac60d59604c
treeb18a24e80f64506f1bfc6ce0e7551eb4346bd6a6
parent0959b0b96d0754cebfa3fa1cfe9f11538e87b333
header-zone: refactor hook_config_destroy

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