summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-06-05 18:55:44 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-06-05 18:55:44 +0000
commitb202119379e94eaf64fbb4b79f5689c285a49300 (patch)
tree4cd32932c550bb3edbf3702944cd6547379602ca
parent39cae91fbd8295571e7a8d2c192bb4ccce0dacb6 (diff)
small stuff.
-rw-r--r--userspace/ebtables2/ebtables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/userspace/ebtables2/ebtables.c b/userspace/ebtables2/ebtables.c
index e28fd96..21cc8b0 100644
--- a/userspace/ebtables2/ebtables.c
+++ b/userspace/ebtables2/ebtables.c
@@ -349,7 +349,7 @@ int disregard_tabspace(char *buffer, FILE *ifp)
return 0;
}
-// helper function: processes a line of data from the file /etc/etherproto
+// helper function: processes a line of data from the file /etc/ethertypes
int get_a_line(char *buffer, char *value, FILE *ifp)
{
int i, hlp;
@@ -389,7 +389,7 @@ int get_a_line(char *buffer, char *value, FILE *ifp)
break;
}
if (i == 5) return -1;
- /* discard comments at the end of a line */
+ // discard comments at the end of a line
if (value[i] == '\t' || value[i] == ' ')
while (1) {
hlp = fscanf(ifp, "%c", &anotherhlp);