]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: correct two comments
authoranlan_cs <vic.lan@pica8.com>
Wed, 15 Jun 2022 05:20:25 +0000 (01:20 -0400)
committeranlan_cs <vic.lan@pica8.com>
Thu, 16 Jun 2022 12:39:34 +0000 (08:39 -0400)
Signed-off-by: anlan_cs <vic.lan@pica8.com>
lib/if.c
lib/stream.c

index 83fa85ecc1eedf509cc3bd491862fa77c17fd1bb..89d30e4fb3d84929911884e1dfb4c2e629ceee9f 100644 (file)
--- 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;
index c15baa0a2ccf1b098640d089b4ce77d752860e17..634ba6c5f9e83e2ffa67e639657f71347862fbd3 100644 (file)
@@ -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.