With the new id feature the old hashes are not necessary anymore.
The ipv6_hash function is dropped because we need this function no more.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
ipv6_addr_eq $@ || ! ipv6_addr_gt $@
}
-ipv6_hash() {
- local address="${1}"
- assert isset address
-
- address="$(ipv6_format "${address}")"
- echo "${address//:/}"
-}
-
ipv6_get_network() {
ip_get_network $@
}
warning "You did not configure a gateway for a non-local zone"
fi
- # XXX maybe we can add some hashing to identify a configuration again
- zone_config_settings_write "${zone}" "${HOOK}.$(uuid)"
+ zone_config_settings_write "${zone}" "${HOOK}"
exit ${EXIT_OK}
}
GATEWAY=$(ipv6_format "${GATEWAY}")
fi
- zone_config_settings_write "${zone}" "${HOOK}.$(ipv6_hash ${ADDRESS}).${PREFIX}"
+ zone_config_settings_write "${zone}" "${HOOK}"
exit ${EXIT_OK}
}