commit | aaa58a6c10e0527f771b329a47dba5824e1aa8d4 | [log] [tgz] |
---|---|---|
author | Weiwei Liu <summerwing10@gmail.com> | Mon Nov 28 23:15:15 2016 -0700 |
committer | Weiwei Liu <summerwing10@gmail.com> | Tue Nov 29 23:48:28 2016 -0700 |
tree | c7b51a7396457d0c3c3583d2f2b82515a5737c6e | |
parent | 52fa45c6ee03ec4e1ace0f15e041715706a45c0e [diff] |
rib: fix incorrect operator<< output refs #3423 Change-Id: I22137a1ad2c3b64d74b7ba2fe6b5f7f55486c276
diff --git a/rib/rib.cpp b/rib/rib.cpp index 97492b2..422de9f 100644 --- a/rib/rib.cpp +++ b/rib/rib.cpp
@@ -507,7 +507,7 @@ operator<<(std::ostream& os, const Rib& rib) { for (const auto& item : rib) { - os << item.second << "\n"; + os << *item.second << "\n"; } return os;