X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Finterface_ip6_nd_cmds.cpp;h=15ff1caa4b4f4c10dd2ab2b52164040b9dd9968d;hb=cbe25aab3be72154f2c706c39eeba6a77f34450f;hp=c6f53f04919d7911e51459098be7e003deca61b8;hpb=164e5f8c63652028ecb9c3570e1ea8618b163071;p=vpp.git diff --git a/extras/vom/vom/interface_ip6_nd_cmds.cpp b/extras/vom/vom/interface_ip6_nd_cmds.cpp index c6f53f04919..15ff1caa4b4 100644 --- a/extras/vom/vom/interface_ip6_nd_cmds.cpp +++ b/extras/vom/vom/interface_ip6_nd_cmds.cpp @@ -15,10 +15,10 @@ #include "vom/interface_ip6_nd.hpp" -#include +#include namespace VOM { -template <> +template<> rc_t ip6nd_ra_config::config_cmd::issue(connection& con) { @@ -31,12 +31,10 @@ ip6nd_ra_config::config_cmd::issue(connection& con) VAPI_CALL(req.execute()); - m_hw_item.set(wait()); - - return rc_t::OK; + return (wait()); } -template <> +template<> rc_t ip6nd_ra_config::unconfig_cmd::issue(connection& con) { @@ -55,7 +53,7 @@ ip6nd_ra_config::unconfig_cmd::issue(connection& con) return rc_t::OK; } -template <> +template<> rc_t ip6nd_ra_prefix::config_cmd::issue(connection& con) { @@ -68,12 +66,10 @@ ip6nd_ra_prefix::config_cmd::issue(connection& con) VAPI_CALL(req.execute()); - m_hw_item.set(wait()); - - return rc_t::OK; + return (wait()); } -template <> +template<> rc_t ip6nd_ra_prefix::unconfig_cmd::issue(connection& con) {