]> git.puffer.fish Git - mirror/frr.git/commit
bgpd, lib: add oid2in6_addr utility and use it 8079/head
authorPat Ruddy <pat@voltanet.io>
Sun, 14 Feb 2021 12:09:55 +0000 (12:09 +0000)
committerPat Ruddy <pat@voltanet.io>
Wed, 17 Feb 2021 13:35:31 +0000 (13:35 +0000)
commit5a224c19f195c03275011b0b642b844182485334
tree09dfbb7db61ece54fa7bdb596af91893c2fd3689
parent23b88a967da32cc719554e50187127a9cc6d5b42
bgpd, lib: add oid2in6_addr utility and use it

The existing code was using the oid2in_addr API to copy IPv6
addresses passing an IPv6 length. Create a utility to do this
properly and avoid annoying coverity with type checking.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
bgpd/bgp_mplsvpn_snmp.c
lib/smux.h
lib/snmp.c