File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2532,9 +2532,21 @@ void networkUseDefaultInterface()
2532
2532
isDefault = networkInterfaceTable[index].netif ->isDefault ();
2533
2533
if (!isDefault)
2534
2534
networkInterfaceTable[index].netif ->setDefault ();
2535
+
2536
+ if (settings.debugNetworkLayer )
2537
+ networkPrintDefaultInterface ();
2535
2538
}
2536
2539
}
2537
2540
2541
+ // ----------------------------------------
2542
+ // Print the default network interface specs
2543
+ // ----------------------------------------
2544
+ void networkPrintDefaultInterface ()
2545
+ {
2546
+ NetworkInterface *irfc = Network.getDefaultInterface ();
2547
+ systemPrintln (irfc->printTo (Serial));
2548
+ }
2549
+
2538
2550
// ----------------------------------------
2539
2551
// Add a network user
2540
2552
// ----------------------------------------
You can’t perform that action at this time.
0 commit comments