]> git.saurik.com Git - apple/network_cmds.git/blobdiff - ypserv.tproj/ypserv.c
network_cmds-245.1.4.tar.gz
[apple/network_cmds.git] / ypserv.tproj / ypserv.c
index 70898841f2a3fffe02c90f3220100e21ad828e40..f9c0e2b7c0c1f3f253d92a1b3f644daceea60021 100644 (file)
@@ -406,9 +406,9 @@ char *argv[];
        }
 
        if (aclfile != NULL) {
-               (void)acl_init(aclfile);
+               (void)yp_acl_init(aclfile);
        } else {
-               (void)acl_securenet(YP_SECURENET_FILE);
+               (void)yp_acl_securenet(YP_SECURENET_FILE);
        }
        if (xflag) {
                exit(1);
@@ -548,12 +548,12 @@ sig_child()
 void
 sig_hup()
 {
-       acl_reset();
+       yp_acl_reset();
        if (aclfile != NULL) {
                yplog("sig_hup: reread %s",aclfile);
-               (void)acl_init(aclfile);
+               (void)yp_acl_init(aclfile);
        } else {
                yplog("sig_hup: reread %s",YP_SECURENET_FILE);
-               (void)acl_securenet(YP_SECURENET_FILE);
+               (void)yp_acl_securenet(YP_SECURENET_FILE);
        }
 }