mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-23 09:56:59 +08:00
replace use of term 'Sanity check'
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>
This commit is contained in:
parent
e9096586e0
commit
058e82cb2f
@ -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)) ||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user