]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
replace use of term 'Sanity check'
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 12 Sep 2024 17:12:21 +0000 (10:12 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 12 Sep 2024 17:12:21 +0000 (10:12 -0700)
The term "sanity check" is on the Tier2 word list (should replace).
See https://inclusivenaming.org/word-lists/tier-2/sanity-check/

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/arpd.c
tipc/node.c

index 3185620f7a748b04083cbaa2b86e384e74bd1d5a..e77ef53928a26878e801e4d76192862228f0e979 100644 (file)
@@ -494,8 +494,7 @@ static void get_arp_pkt(void)
        if (ifnum && !handle_if(sll.sll_ifindex))
                return;
 
-       /* Sanity checks */
-
+       /* Validate packet */
        if (n < sizeof(*a) ||
            (a->ar_op != htons(ARPOP_REQUEST) &&
             a->ar_op != htons(ARPOP_REPLY)) ||
index e645d374cd82e99a01e827d54198a212dce96d1f..b84a3fa1c1c0f94efde3743042e076e6ff9b6b93 100644 (file)
@@ -252,7 +252,7 @@ get_ops:
        /* Get master key indication */
        opt_master = get_opt(opts, "master");
 
-       /* Sanity check if wrong option */
+       /* Validate node key */
        if (opt_nodeid && opt_master) {
                fprintf(stderr, "error, per-node key cannot be master\n");
                return -EINVAL;