diff options
author | rsc <devnull@localhost> | 2005-12-31 19:34:11 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-12-31 19:34:11 +0000 |
commit | ad79121be556a8ce2e8a44eb2ccd1f19cc0e66fb (patch) | |
tree | dab5465d6cf531d4e3904dbea03675e2d8735c0c /src/libip | |
parent | a7042f072b551b77b0096c3a8e744c36db48c6b6 (diff) | |
download | plan9port-ad79121be556a8ce2e8a44eb2ccd1f19cc0e66fb.tar.gz plan9port-ad79121be556a8ce2e8a44eb2ccd1f19cc0e66fb.tar.bz2 plan9port-ad79121be556a8ce2e8a44eb2ccd1f19cc0e66fb.zip |
add ether
Diffstat (limited to 'src/libip')
-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); } |