]> git.ipfire.org Git - people/ms/network.git/commit
Fix zone_config_check_same_setting
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 7 Feb 2018 14:53:47 +0000 (14:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Feb 2018 22:29:39 +0000 (22:29 +0000)
commit320f1fda569ea4824dc1861de70d273fecc683ce
tree668853d2ec171ea7365056beb7785f9c105f4900
parent2161ab72fc916c8522735e47cd30aa9beaf72386
Fix zone_config_check_same_setting

Every time we edited a config zone_config_check_same_setting
returns that a identical config was found but this config was the config
we want to edit. So we now generate the id inside hook_new and pass the
id always to hook_parse_cmdline and to zone_config_check_same_setting.

So we can skip this config.

Fixes: #11451
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.zone
src/header-config
src/hooks/configs/dhcp
src/hooks/configs/ipv6-auto
src/hooks/configs/pppoe-server