summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 340a4f3)
raw | patch | inline | side by side (parent: 340a4f3)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 19 Aug 2007 15:19:12 +0000 (17:19 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 19 Aug 2007 15:19:12 +0000 (17:19 +0200) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 34385bf66d106be5ebda3cf92a3ae88ad9d2adb6..84e77733da9e830e3aabda39171fdcec75194ba2 100644 (file)
--- a/src/network.c
+++ b/src/network.c
&& (fields_num != 2))
return (1);
else if (fields_num == 2)
+ {
+ if ((service = strchr (fields[1], '.')) != NULL)
+ *service = '\0';
service = fields[1];
+ }
node = fields[0];
if (strcasecmp ("Listen", key) == 0)