From 902abcab7ee5063e62fed86c128fcb81e6c88d8f Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Sat, 14 Feb 2015 20:28:54 +0100 Subject: [PATCH] feature #3540: Added comment --- src/vnm/AddressRange.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/vnm/AddressRange.cc b/src/vnm/AddressRange.cc index 337c6a1e69..400a9745fe 100644 --- a/src/vnm/AddressRange.cc +++ b/src/vnm/AddressRange.cc @@ -259,11 +259,18 @@ int AddressRange::update_attributes( attr->vector_value("PARENT_NETWORK_AR_ID")); } + /* ------ Remove non-persistent attributes, generated in to_xml() ------ */ + vup->remove("MAC_END"); + vup->remove("IP_END"); + vup->remove("IP6_ULA"); + vup->remove("IP6_ULA_END"); + vup->remove("IP6_GLOBAL"); + vup->remove("IP6_GLOBAL_END"); /* ----------------- restricted attributes ----------------- */