,6 @@ main(int argc, char *argv[]) printf("%d packets received by filter\n", us.bs_recv); printf("%d packets dropped by kernel\n", us.bs_drop); - /* - * Destroy the usbusN interface only if it was created by - * usbdump(8). Ignore when it was already destroyed. - */ - if (ifindex == 0 && if_nametoindex(i_arg) > 0) { - (void)strlcpy(ifr.ifr_name, i_arg, sizeof(ifr.ifr_name)); - if (ioctl(s, SIOCIFDESTROY, &ifr) < 0) - warn("SIOCIFDESTROY ioctl failed"); - } - close(s); - if (p->fd > 0) close(p->fd); if (p->rfd > 0)