#!/bin/sh -
#
#       $OpenBSD: uban.sh

# the command below runs bgpctl in rdomain  0 (for instances where a user
# is sshed in on the box and the ssh session is in a different rdomain / vrf
/sbin/route -T0 exec /usr/sbin/bgpctl network delete $1/32 
echo network $1/32 has been unblocked
exit
