Script to advertise bgp prefixes (IPv4 and IPv6/IPv6long) - fixed bug where script does not advertise last incomplete pack