neigh: split lines for NEIGH_VAR_SET so they are not too long
introduced by:
commit 1f9248e560
"neigh: convert parms to an array"
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
42851e88a7
commit
3977458c9c
|
@ -2087,13 +2087,16 @@ static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh)
|
|||
nla_get_msecs(tbp[i]));
|
||||
break;
|
||||
case NDTPA_ANYCAST_DELAY:
|
||||
NEIGH_VAR_SET(p, ANYCAST_DELAY, nla_get_msecs(tbp[i]));
|
||||
NEIGH_VAR_SET(p, ANYCAST_DELAY,
|
||||
nla_get_msecs(tbp[i]));
|
||||
break;
|
||||
case NDTPA_PROXY_DELAY:
|
||||
NEIGH_VAR_SET(p, PROXY_DELAY, nla_get_msecs(tbp[i]));
|
||||
NEIGH_VAR_SET(p, PROXY_DELAY,
|
||||
nla_get_msecs(tbp[i]));
|
||||
break;
|
||||
case NDTPA_LOCKTIME:
|
||||
NEIGH_VAR_SET(p, LOCKTIME, nla_get_msecs(tbp[i]));
|
||||
NEIGH_VAR_SET(p, LOCKTIME,
|
||||
nla_get_msecs(tbp[i]));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue