diff options
Diffstat (limited to 'extras/vom')
-rw-r--r-- | extras/vom/vom/interface.cpp | 6 | ||||
-rw-r--r-- | extras/vom/vom/interface.hpp | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/extras/vom/vom/interface.cpp b/extras/vom/vom/interface.cpp index 1e27d42c7f4..70035648d06 100644 --- a/extras/vom/vom/interface.cpp +++ b/extras/vom/vom/interface.cpp @@ -160,6 +160,12 @@ interface::l2_address() const return (m_l2_address.data()); } +const interface::admin_state_t& +interface::admin_state() const +{ + return (m_state.data()); +} + interface::const_iterator_t interface::cbegin() { diff --git a/extras/vom/vom/interface.hpp b/extras/vom/vom/interface.hpp index 0b2d9071e8f..a1098c11329 100644 --- a/extras/vom/vom/interface.hpp +++ b/extras/vom/vom/interface.hpp @@ -265,6 +265,11 @@ public: const l2_address_t& l2_address() const; /** + * Return the admin state + */ + const admin_state_t& admin_state() const; + + /** * Set the admin state of the interface * * N.B. All set function change only the attibute of the object on whcih |