commit | b4ecadcc4b44e30c7cac5ef7e8c0b6b6ccec0322 | [log] [tgz] |
---|---|---|
author | Teng Liang <philoliang2011@gmail.com> | Sat Mar 25 10:55:40 2017 -0500 |
committer | Teng Liang <philoliang2011@gmail.com> | Sun Mar 26 10:45:19 2017 -0500 |
tree | bd27df21632240062c2f1976b85c7fc00432ff17 | |
parent | 156c1ea50245640498b3c4bfa80446af404d1136 [diff] [blame] |
encoding: add ad hoc link type to ndn::nfd::LinkType enum refs: #3967 Change-Id: I443d3e43dc31dec2e2426c61b7a92d480871f34a
diff --git a/src/encoding/nfd-constants.cpp b/src/encoding/nfd-constants.cpp index b502a9c..9cda265 100644 --- a/src/encoding/nfd-constants.cpp +++ b/src/encoding/nfd-constants.cpp
@@ -68,6 +68,8 @@ return os << "point-to-point"; case LINK_TYPE_MULTI_ACCESS: return os << "multi-access"; + case LINK_TYPE_AD_HOC: + return os << "adhoc"; } return os << static_cast<unsigned>(linkType); }