Clarify comment regarding default IP r6350-tests
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 2 Mar 2020 08:58:14 +0000 (09:58 +0100)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 2 Mar 2020 08:58:56 +0000 (09:58 +0100)
nmrp.c

diff --git a/nmrp.c b/nmrp.c
index d85d5ae7187e87322228580c006a3a1f87e1f07c..29d3c6dd733e836f25c149d663b1fc8deed8a917 100644 (file)
--- a/nmrp.c
+++ b/nmrp.c
@@ -384,8 +384,13 @@ int nmrp_do(struct nmrpd_args *args)
 
        if (!args->ipaddr) {
                autoip = true;
-               /* The MAC of the device that was used to test this utility starts
-                * with a4:2b:8c, hence 164 (0xa4) and 183 (0x2b + 0x8c)
+               /* A random IP address. The MAC of the first device that was
+                * used to test this utility starts with a4:2b:8c, so we use
+                * 164 (0xa4) and 183 (0x2b + 0x8c).
+                *
+                * These addresses should not cause collisions on most networks,
+                * and if they do, the user is probably "poweruser" enough to
+                * be able to use the -a and -A options.
                 */
                args->ipaddr = "10.164.183.252";