]> granicus.if.org Git - sudo/commitdiff
ntwk_matches -> addr_matches
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 7 Apr 1995 19:38:50 +0000 (19:38 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 7 Apr 1995 19:38:50 +0000 (19:38 +0000)
parse.yacc

index 277ddb354ff170f2fbe6d0869975fcf5e79d30e2..13c342b0d37a8ce8a6b6900cc6dd91b0fba60817 100644 (file)
@@ -90,7 +90,7 @@ int top = 0;
        top--;
 
 extern int path_matches                __P((char *, char *));
-extern int ntwk_matches                __P((char *));
+extern int addr_matches                __P((char *));
 static int find_alias          __P((char *, int));
 static int add_alias           __P((char *, int));
 static int more_aliases                __P((int));
@@ -166,7 +166,7 @@ hostspec    :       ALL {
                            host_matches = TRUE;
                        }
                |       NTWKADDR {
-                           if (ntwk_matches($1))
+                           if (addr_matches($1))
                                host_matches = TRUE;
                        }
                |       NAME {