#!/usr/local/bin/perl
use blib;
use strict;
use warnings;
use AFS::VLDB;
my ($vldb, $address, $ok);
die "Usage: $0 ip_address\n" if $#ARGV != 0;
$address = shift;
$vldb = AFS::VLDB->new;
$AFS::CODE and print "AFS::CODE = $AFS::CODE\n";
$ok = $vldb->removeaddr($address);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else { print "OK = $ok\n"; }