forked from Mirror/frr
sharpd: Fix coverity issues
New commits had an assignment instead of a comparison option. Coverity wisely found it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
3ab8fc13c1
commit
2703f331e2
|
@ -1018,7 +1018,7 @@ static int sharp_zebra_process_neigh(ZAPI_CALLBACK_ARGS)
|
|||
}
|
||||
|
||||
zlog_debug("Received: %s %pSU dev %s lladr %pSU",
|
||||
(cmd = ZEBRA_NEIGH_ADDED) ? "NEW" : "DEL", &addr, ifp->name,
|
||||
(cmd == ZEBRA_NEIGH_ADDED) ? "NEW" : "DEL", &addr, ifp->name,
|
||||
&lladdr);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue