Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions nest/rt-attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@ mpnh_compare_node(struct mpnh *x, struct mpnh *y)
if (r)
return r;

if (!x->iface)
return 1;
if (!y->iface)
return -1;
Comment thread
matteyeux marked this conversation as resolved.

return ((int) x->iface->index) - ((int) y->iface->index);
}

Expand Down