From f978382d7803e3c132d0726b28a0e95a903e7181 Mon Sep 17 00:00:00 2001 From: anlan_cs Date: Wed, 15 Jun 2022 01:20:25 -0400 Subject: [PATCH] lib: correct two comments Signed-off-by: anlan_cs --- lib/if.c | 2 +- lib/stream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/if.c b/lib/if.c index 83fa85ecc1..89d30e4fb3 100644 --- a/lib/if.c +++ b/lib/if.c @@ -711,7 +711,7 @@ int if_is_broadcast(const struct interface *ifp) return ifp->flags & IFF_BROADCAST; } -/* Does this interface support broadcast ? */ +/* Does this interface support pointopoint ? */ int if_is_pointopoint(const struct interface *ifp) { return ifp->flags & IFF_POINTOPOINT; diff --git a/lib/stream.c b/lib/stream.c index c15baa0a2c..634ba6c5f9 100644 --- a/lib/stream.c +++ b/lib/stream.c @@ -691,7 +691,7 @@ double stream_getd(struct stream *s) return u.r; } -/* Copy to source to stream. +/* Copy from source to stream. * * XXX: This uses CHECK_SIZE and hence has funny semantics -> Size will wrap * around. This should be fixed once the stream updates are working. -- 2.39.5