]> andersk Git - openssh.git/blobdiff - auth-options.c
- djm@cvs.openbsd.org 2006/03/19 07:41:30
[openssh.git] / auth-options.c
index 54798d9ad5a7881448f768eba54e096b5ad51878..77488a49dfbe6815e0a3a61ba4b87d4985b4f130 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth-options.c,v 1.32 2005/12/06 22:38:27 reyk Exp $");
 
 #include "xmalloc.h"
 #include "match.h"
@@ -296,7 +295,7 @@ auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum)
                        tun[i] = 0;
                        forced_tun_device = a2tun(tun, NULL);
                        xfree(tun);
-                       if (forced_tun_device < -1) {
+                       if (forced_tun_device == SSH_TUNID_ERR) {
                                debug("%.100s, line %lu: invalid tun device",
                                    file, linenum);
                                auth_debug_add("%.100s, line %lu: invalid tun device",
This page took 0.032194 seconds and 4 git commands to generate.