return ${EXIT_ERROR}
fi
- routing_db_set ${zone} ipv4 active 1
+ db_set "${zone}/ipv4/active" 1
+
routing_update ${zone} ipv4
routing_default_update
# Remove the information about this zone from the routing database
# and update the routing table.
- routing_db_remove ${zone} ipv4
+ db_delete "${zone}/ipv4"
+
routing_update ${zone} ipv4
routing_default_update
# Add information about this zone to the routing database.
routing_db_from_ppp ${zone} ipv6
- routing_db_set ${zone} ipv6 active 1
+ db_set "${zone}/ipv6/active" 1
+
routing_update ${zone} ipv6
routing_default_update
# Remove the information about this zone from the routing database
# and update the routing table.
- routing_db_remove ${zone} ipv6
+ db_delete "${zone}/ipv6"
+
routing_update ${zone} ipv6
routing_default_update