diff options
-rw-r--r-- | src/libip/testreadipifc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libip/testreadipifc.c b/src/libip/testreadipifc.c index aa57120c..3515e7f2 100644 --- a/src/libip/testreadipifc.c +++ b/src/libip/testreadipifc.c @@ -11,10 +11,11 @@ main(void) fmtinstall('I', eipfmt); fmtinstall('M', eipfmt); + fmtinstall('E', eipfmt); list = readipifc("/net", nil, -1); for(ifc = list; ifc; ifc = ifc->next){ - print("ipifc %s %d\n", ifc->dev, ifc->mtu); + print("ipifc %s %d %E\n", ifc->dev, ifc->mtu, ifc->ether); for(lifc = ifc->lifc; lifc; lifc = lifc->next) print("\t%I %M %I\n", lifc->ip, lifc->mask, lifc->net); } |