mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:50:17 +00:00
bgpd: Fix value set but never used
The value 'pnt' was being set but never used. If we need this in the future it will be a simple thing to add back in. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
5a9825aac6
commit
100cb793cc
@ -83,7 +83,7 @@ static void display_vrf_import_rt(struct vty *vty,
|
||||
case ECOMMUNITY_ENCODE_AS:
|
||||
eas.as = (*pnt++ << 8);
|
||||
eas.as |= (*pnt++);
|
||||
pnt = ptr_get_be32(pnt, &eas.val);
|
||||
ptr_get_be32(pnt, &eas.val);
|
||||
|
||||
snprintf(rt_buf, RT_ADDRSTRLEN, "%u:%u", eas.as, eas.val);
|
||||
|
||||
@ -195,7 +195,7 @@ static void display_import_rt(struct vty *vty, struct irt_node *irt,
|
||||
case ECOMMUNITY_ENCODE_AS:
|
||||
eas.as = (*pnt++ << 8);
|
||||
eas.as |= (*pnt++);
|
||||
pnt = ptr_get_be32(pnt, &eas.val);
|
||||
ptr_get_be32(pnt, &eas.val);
|
||||
|
||||
snprintf(rt_buf, RT_ADDRSTRLEN, "%u:%u", eas.as, eas.val);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user