diff options
Diffstat (limited to 'mmss/iface.cpp')
-rw-r--r-- | mmss/iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mmss/iface.cpp b/mmss/iface.cpp index a7a174e..77b5872 100644 --- a/mmss/iface.cpp +++ b/mmss/iface.cpp @@ -38,7 +38,7 @@ std::shared_ptr<iface_t> iface_t::add(const std::shared_ptr<node_t> &node, const std::shared_ptr<iface_t> iface = std::shared_ptr<iface_t>(new iface_t(node.get(), net.get(), name, address)); net->add_iface(iface); - node->add_iface(iface); + iface->state = node->add_iface(iface); return iface; } |