diff options
author | Tim Potter <tpot@samba.org> | 2003-01-21 06:30:11 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-21 06:30:11 +0000 |
commit | aeaa901a72b82a4d4e3a43301b67ba5534423358 (patch) | |
tree | f23358f0c569473a292fca53e24678f3c0b9c65c /source3 | |
parent | e97e51f5fd05e533d064ab8dd68a9039f4d44d0c (diff) | |
download | samba-aeaa901a72b82a4d4e3a43301b67ba5534423358.tar.gz samba-aeaa901a72b82a4d4e3a43301b67ba5534423358.tar.bz2 samba-aeaa901a72b82a4d4e3a43301b67ba5534423358.zip |
Updated some comments.
(This used to be commit f150af98a77ebcfa848735b7a67bbb95bd6d5b57)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/wins_srv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/wins_srv.c b/source3/lib/wins_srv.c index 328350f2be..3372f74dcb 100644 --- a/source3/lib/wins_srv.c +++ b/source3/lib/wins_srv.c @@ -61,17 +61,13 @@ #define DEATH_TIME 600 /* The list of dead wins servers is stored in gencache.tdb. Each server is - marked dead m the point of view of a given source address. We keep a + marked dead from the point of view of a given source address. We keep a separate dead list for each src address to cope with multiple interfaces that are not routable to each other. */ #define WINS_SRV_FMT "WINS_SRV_DEAD/%s,%s" /* wins_ip,src_ip */ -/* - see if an ip is on the dead list -*/ - static char *wins_srv_keystr(struct in_addr wins_ip, struct in_addr src_ip) { char *keystr; @@ -85,6 +81,10 @@ static char *wins_srv_keystr(struct in_addr wins_ip, struct in_addr src_ip) return keystr; } +/* + see if an ip is on the dead list +*/ + BOOL wins_srv_is_dead(struct in_addr wins_ip, struct in_addr src_ip) { char *keystr = wins_srv_keystr(wins_ip, src_ip); |