Skip to content

Commit 083c701

Browse files
authored
Merge branch 'master' into master
2 parents 8a67f26 + 213a685 commit 083c701

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/model/Network.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ namespace aalwines
358358
for(auto& r : _routers)
359359
{
360360
if(r->is_null()) continue;
361+
if(r->interfaces().empty()) continue;
361362
s << " <router name=\"" << r->name() << "\">\n";
362363
s << " <interfaces>\n";
363364
for(auto& inf : r->interfaces())

src/model/Query.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace aalwines {
5252
uint8_t _mask = 0;
5353
uint64_t _value = 0;
5454
public:
55-
friend class ptrie::byte_iterator<label_t>;
55+
friend struct ptrie::byte_iterator<label_t>;
5656
label_t()
5757
{
5858
_type = NONE;

0 commit comments

Comments
 (0)