From 768378869dfbe86f5bd0084db3187c67347f0537 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 30 Jul 1997 21:29:48 +0000 Subject: Break the pollname out of the names list. svn path=/trunk/; revision=1207 --- interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 295bb3be..b379786b 100644 --- a/interface.c +++ b/interface.c @@ -175,7 +175,7 @@ int interface_approve(struct hostdata *hp) /* get interface info */ if (!get_ifinfo(hp->interface, &ifinfo)) { (void) error(0, 0, "skipping poll of %s, %s down", - hp->names->id, hp->interface); + hp->pollname, hp->interface); return(FALSE); } /* check the IP address (range) */ @@ -184,7 +184,7 @@ int interface_approve(struct hostdata *hp) hp->interface_pair->interface_address.s_addr) { (void) error(0, 0, "skipping poll of %s, %s IP address excluded", - hp->names->id, hp->interface); + hp->pollname, hp->interface); return(FALSE); } } @@ -202,7 +202,7 @@ int interface_approve(struct hostdata *hp) hp->monitor_io == ifinfo.rx_packets + ifinfo.tx_packets) { (void) error(0, 0, "skipping poll of %s, %s inactive", - hp->names->id, hp->monitor); + hp->pollname, hp->monitor); return(FALSE); } -- cgit v1.2.3