mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 17:44:38 +00:00
zebra: Use shorthand operator in ifm_read()
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
c33b17feb1
commit
b49a912271
@ -556,7 +556,7 @@ int ifm_read(struct if_msghdr *ifm)
|
||||
* is 12 bytes larger than the 32 bit version.
|
||||
*/
|
||||
if (((struct sockaddr *)cp)->sa_family == AF_UNSPEC)
|
||||
cp = cp + 12;
|
||||
cp += 12;
|
||||
#endif
|
||||
|
||||
/* Look up for RTA_IFP and skip others. */
|
||||
|
Loading…
Reference in New Issue
Block a user