summaryrefslogtreecommitdiffstats
path: root/ebtables.c
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
commitbbca3208a831070751178820df896ffcfe92b64a (patch)
tree8a8d47e87f6cca708fa084568ec21f083966303f /ebtables.c
parent73564dcc2f134712329f1c533a8d468ca0546bf1 (diff)
small stuff.
Diffstat (limited to 'ebtables.c')
-rw-r--r--ebtables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ebtables.c b/ebtables.c
index e28fd96..21cc8b0 100644
--- a/ebtables.c
+++ b/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);