Skip to content

Commit 306dc46

Browse files
committed
feat(netif): Print route prio for each interface
1 parent ba5f79b commit 306dc46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libraries/Network/src/NetworkInterface.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,11 @@ size_t NetworkInterface::printTo(Print &out) const {
839839
if (flags & ESP_NETIF_FLAG_MLDV6_REPORT) {
840840
bytes += out.print(",V6_REP");
841841
}
842-
bytes += out.println(")");
842+
bytes += out.print(")");
843+
844+
bytes += out.print(" PRIO: ");
845+
bytes += out.print(getRoutePrio());
846+
bytes += out.println("");
843847

844848
bytes += out.print(" ");
845849
bytes += out.print("ether ");

0 commit comments

Comments
 (0)