summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/vom/vom/nat_binding_cmds.hpp5
-rw-r--r--extras/vom/vom/nat_static_cmds.cpp13
-rw-r--r--extras/vom/vom/nat_static_cmds.hpp1
3 files changed, 9 insertions, 10 deletions
diff --git a/extras/vom/vom/nat_binding_cmds.hpp b/extras/vom/vom/nat_binding_cmds.hpp
index 9b59d0dbd2c..40507e0374b 100644
--- a/extras/vom/vom/nat_binding_cmds.hpp
+++ b/extras/vom/vom/nat_binding_cmds.hpp
@@ -21,6 +21,7 @@
#include "vom/rpc_cmd.hpp"
#include <vapi/nat.api.vapi.hpp>
+#include <vapi/nat66.api.vapi.hpp>
namespace VOM {
namespace nat_binding_cmds {
@@ -253,8 +254,8 @@ private:
/////
/**
-* A functor class that binds a NAT configuration to an input interface
-*/
+ * A functor class that binds a NAT configuration to an input interface
+ */
class bind_66_input_cmd
: public rpc_cmd<HW::item<bool>, vapi::Nat66_add_del_interface>
{
diff --git a/extras/vom/vom/nat_static_cmds.cpp b/extras/vom/vom/nat_static_cmds.cpp
index 0c4d7283ea6..7e2b05f7f1e 100644
--- a/extras/vom/vom/nat_static_cmds.cpp
+++ b/extras/vom/vom/nat_static_cmds.cpp
@@ -16,6 +16,7 @@
#include "vom/nat_static_cmds.hpp"
DEFINE_VAPI_MSG_IDS_NAT_API_JSON;
+DEFINE_VAPI_MSG_IDS_NAT66_API_JSON;
namespace VOM {
namespace nat_static_cmds {
@@ -28,8 +29,7 @@ create_44_cmd::create_44_cmd(HW::item<bool>& item,
, m_id(id)
, m_inside(inside)
, m_outside(outside)
-{
-}
+{}
bool
create_44_cmd::operator==(const create_44_cmd& other) const
@@ -77,8 +77,7 @@ delete_44_cmd::delete_44_cmd(HW::item<bool>& item,
, m_id(id)
, m_inside(inside)
, m_outside(outside)
-{
-}
+{}
bool
delete_44_cmd::operator==(const delete_44_cmd& other) const
@@ -153,8 +152,7 @@ create_66_cmd::create_66_cmd(HW::item<bool>& item,
, m_id(id)
, m_inside(inside)
, m_outside(outside)
-{
-}
+{}
bool
create_66_cmd::operator==(const create_66_cmd& other) const
@@ -198,8 +196,7 @@ delete_66_cmd::delete_66_cmd(HW::item<bool>& item,
, m_id(id)
, m_inside(inside)
, m_outside(outside)
-{
-}
+{}
bool
delete_66_cmd::operator==(const delete_66_cmd& other) const
diff --git a/extras/vom/vom/nat_static_cmds.hpp b/extras/vom/vom/nat_static_cmds.hpp
index 8d514d85771..2213ef5ae47 100644
--- a/extras/vom/vom/nat_static_cmds.hpp
+++ b/extras/vom/vom/nat_static_cmds.hpp
@@ -20,6 +20,7 @@
#include "vom/dump_cmd.hpp"
#include <vapi/nat.api.vapi.hpp>
+#include <vapi/nat66.api.vapi.hpp>
namespace VOM {
namespace nat_static_cmds {