diff options
Diffstat (limited to 'src/fnet/interface.c')
-rw-r--r-- | src/fnet/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fnet/interface.c b/src/fnet/interface.c index 8c1fd6ca4..d05c0d50d 100644 --- a/src/fnet/interface.c +++ b/src/fnet/interface.c | |||
@@ -172,7 +172,7 @@ void net_ifprint(int scan) { | |||
172 | if (getifaddrs(&ifaddr) == -1) | 172 | if (getifaddrs(&ifaddr) == -1) |
173 | errExit("getifaddrs"); | 173 | errExit("getifaddrs"); |
174 | 174 | ||
175 | printf("%-17.17s%-19.19s%-17.17s%-17.17s%-6.6s\n", | 175 | fmessage("%-17.17s%-19.19s%-17.17s%-17.17s%-6.6s\n", |
176 | "Interface", "MAC", "IP", "Mask", "Status"); | 176 | "Interface", "MAC", "IP", "Mask", "Status"); |
177 | // walk through the linked list | 177 | // walk through the linked list |
178 | for (ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { | 178 | for (ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { |
@@ -208,7 +208,7 @@ void net_ifprint(int scan) { | |||
208 | sprintf(macstr, "%02x:%02x:%02x:%02x:%02x:%02x", PRINT_MAC(mac)); | 208 | sprintf(macstr, "%02x:%02x:%02x:%02x:%02x:%02x", PRINT_MAC(mac)); |
209 | 209 | ||
210 | 210 | ||
211 | printf("%-17.17s%-19.19s%-17.17s%-17.17s%-6.6s\n", | 211 | fmessage("%-17.17s%-19.19s%-17.17s%-17.17s%-6.6s\n", |
212 | ifa->ifa_name, macstr, ipstr, maskstr, status); | 212 | ifa->ifa_name, macstr, ipstr, maskstr, status); |
213 | 213 | ||
214 | // network scanning | 214 | // network scanning |