summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f0bddb)
raw | patch | inline | side by side (parent: 6f0bddb)
author | Florian Forster <octo@crystal.wlan.home.verplant.org> | |
Mon, 22 Jan 2007 21:52:49 +0000 (22:52 +0100) | ||
committer | Florian Forster <octo@crystal.wlan.home.verplant.org> | |
Mon, 22 Jan 2007 21:52:49 +0000 (22:52 +0100) |
src/traffic.c | patch | blob | history |
diff --git a/src/traffic.c b/src/traffic.c
index a7b70c5875a6d3946964b5896013437da3afa437..04e30e1e19d627450c04ea283cef20a9b85a20bd 100644 (file)
--- a/src/traffic.c
+++ b/src/traffic.c
struct IFA_DATA *if_data;
if (getifaddrs (&if_list) != 0)
- return;
+ return (-1);
for (if_ptr = if_list; if_ptr != NULL; if_ptr = if_ptr->ifa_next)
{