}
extern void asn_open(struct mtr_ctl *ctl) {
- if (ctl->ipinfo_no >= 0) {
- DEB_syslog(LOG_INFO, "hcreate(%d)", IIHASH_HI);
- if (!(iihash = hcreate(IIHASH_HI)))
- error(0, errno, "ipinfo hash");
- }
+ DEB_syslog(LOG_INFO, "hcreate(%d)", IIHASH_HI);
+ if (!(iihash = hcreate(IIHASH_HI)))
+ error(0, errno, "ipinfo hash");
}
extern void asn_close(struct mtr_ctl *ctl) {
- if ((ctl->ipinfo_no >= 0) && iihash) {
+ if (iihash) {
DEB_syslog(LOG_INFO, "hdestroy()");
hdestroy();
iihash = 0;