aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-07-30 21:29:48 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-07-30 21:29:48 +0000
commit768378869dfbe86f5bd0084db3187c67347f0537 (patch)
tree8e616dc254af41321e8053cba2eb0a90ed5afbf6 /interface.c
parent57e04d21058a54b858c7d1d4b1f32164671c8dc4 (diff)
downloadfetchmail-768378869dfbe86f5bd0084db3187c67347f0537.tar.gz
fetchmail-768378869dfbe86f5bd0084db3187c67347f0537.tar.bz2
fetchmail-768378869dfbe86f5bd0084db3187c67347f0537.zip
Break the pollname out of the names list.
svn path=/trunk/; revision=1207
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c6
1 files changed, 3 insertions, 3 deletions
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);
}