Fix a >=0 that should be <0 that was improperly converted when UNSPEC was added.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 6 Jun 2004 20:22:20 +0000 (20:22 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 6 Jun 2004 20:22:20 +0000 (20:22 +0000)
parse.yacc

index b2e2bc8b1e45dbb699d410a6948876e83ba86d53..481b9ee0471bf74cd8d1fab4b6f0d643f67b55ab 100644 (file)
@@ -449,7 +449,7 @@ cmndspec    :       runasspec cmndtag opcmnd {
                                pushcp;
                            else if (user_matches >= 0 && (top == 1 ||
                                (top == 2 && host_matches >= 0 &&
-                               match[0].host >= 0)))
+                               match[0].host < 0)))
                                pushcp;
                            else if (user_matches == TRUE && keepall)
                                pushcp;