Skip to content

Commit

Permalink
@8179947 Search for smash counter entities in each call of macsec int…
Browse files Browse the repository at this point in the history
…f_counters
  • Loading branch information
Jeffrey Niu authored and Avinash Kumar committed Aug 29, 2018
1 parent 49385e0 commit e5a6ded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions eos/macsec.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,9 @@ class EOS_SDK_PUBLIC macsec_mgr : public base_mgr<macsec_handler, intf_id_t> {
virtual bool macsec_capable(intf_id_t) const = 0;

/*
* Returns the current MACsec counters for the given interface. Counters
* are only available for interfaces that were up upon EosSdk agent creation.
* Returns the current MACsec counters for the given interface.
*/
virtual macsec_intf_counters_t intf_counters(intf_id_t) const = 0;
virtual macsec_intf_counters_t intf_counters(intf_id_t) = 0;

protected:
macsec_mgr() EOS_SDK_PRIVATE;
Expand Down
2 changes: 1 addition & 1 deletion macsec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class macsec_mgr_impl : public macsec_mgr {
return false; // TODO: No op impl
}

macsec_intf_counters_t intf_counters(intf_id_t intf_id) const {
macsec_intf_counters_t intf_counters(intf_id_t intf_id) {
macsec_intf_counters_t * nop = 0;
return *nop; // TODO: No op impl
}
Expand Down

0 comments on commit e5a6ded

Please sign in to comment.