From b202119379e94eaf64fbb4b79f5689c285a49300 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 5 Jun 2002 18:55:44 +0000 Subject: small stuff. --- userspace/ebtables2/ebtables.c | 4 ++-- 1 file 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); -- cgit v1.2.3