summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-13 15:51:17 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-13 15:51:17 +0200
commitb6cb72afcf877e6b1ac062ca17e0be01c963cce7 (patch)
treee4b44ea1c8e2c2d5752c8a581d9dcabf81bef555
parente9b6480fc5c15c131339a1f34ed18cb57a9f281c (diff)
oui: minor: Fix comments
Make comments related to skipping of lines a bit clearer. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--oui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/oui.c b/oui.c
index 2f6ec72..5eea9fb 100644
--- a/oui.c
+++ b/oui.c
@@ -55,11 +55,12 @@ void dissector_init_oui(void)
v = xmalloc(sizeof(*v));
v->id = strtol(ptr, &end, 0);
- /* No valid line, skip */
+ /* not a valid line, skip */
if (v->id == 0 && end == ptr)
continue;
ptr = strstr(buff, ", ");
+ /* likewise */
if (!ptr)
continue;
2Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller9-30/+40 2017-02-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds4-19/+26 2017-02-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1 2017-02-01Merge tag 'wireless-drivers-next-for-davem-2017-02-01' of git://git.kernel.or...David S. Miller2-1/+2 2017-02-01net: fix ndo_features_check/ndo_fix_features comment orderingDimitris Michailidis1-14/+15