{
int ch, ttl;
- while ((ch = getopt(argc, argv, "h:t:i:d")) != -1) {
+ while ((ch = getopt(argc, argv, "t:i:d")) != -1) {
switch (ch) {
- case 'h':
- hostname = optarg;
- break;
case 't':
ttl = atoi(optarg);
if (ttl > 0)
cache_cleanup();
service_cleanup();
+ vlist_flush(&interfaces);
return 0;
}