X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fcallback.c;h=b1acd15ae8ae025bb75bf63703bfd274f0a60619;hp=2f98aeb2adb468ae6e6d79a38a11d2a4a8346f8c;hb=cbd3a131e5c02bbd7b92a72b3ac467d71cfee1c4;hpb=f0d3a4bedccca7cce48296757bc1c8bd59b80828 diff --git a/utils/statd/callback.c b/utils/statd/callback.c index 2f98aeb..b1acd15 100644 --- a/utils/statd/callback.c +++ b/utils/statd/callback.c @@ -13,7 +13,6 @@ #include #include "rpcmisc.h" -#include "misc.h" #include "statd.h" #include "notlist.h" @@ -52,8 +51,8 @@ sm_notify_1_svc(struct stat_chge *argp, struct svc_req *rqstp) */ for (lp = rtnl ; lp ; lp = lp->next) if (NL_STATE(lp) != argp->state && - (matchhostname(argp->mon_name, lp->dns_name) || - matchhostname(ip_addr, lp->dns_name))) { + (statd_matchhostname(argp->mon_name, lp->dns_name) || + statd_matchhostname(ip_addr, lp->dns_name))) { NL_STATE(lp) = argp->state; call = nlist_clone(lp); nlist_insert(¬ify, call);