Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > e62f51b3c9c4797a380d8e815dd2df0a > files > 26

dhcpv6-0.10-33.el5.src.rpm

--- dhcp-0.10/resolv_token.l.yywrap	2005-01-07 16:04:31.917936054 -0500
+++ dhcp-0.10/resolv_token.l	2005-01-07 19:35:11.217398202 -0500
@@ -240,7 +240,7 @@
 			" failed to fdopen resolv.conf.dhcpv6 file", FNAME);
 		return (-1);
 	}
-        return yylex();
+	yylex();
 }
 
 static int
@@ -349,8 +349,8 @@
 		}
 	}
 	if (change_resolv_conf(resolv_dhcpv6_file)!=0) {
-		dprintf(LOG_ERR, "%s" " rename failed for resolv.conf file", FNAME);
-		return(-1);
+//		dprintf(LOG_ERR, "%s" " rename failed for resolv.conf file", FNAME);
+//              needs initscripts patch!		return(-1);
 	}
 	return (0);
 }
@@ -361,5 +361,5 @@
         update_resolver(new_dns_list);
 	fclose(yyin);
 	close(oldfd);
-	return 0;
+	return 1;
 }
--- dhcp-0.10/radvd_token.l.yywrap	2005-01-07 16:04:31.959930961 -0500
+++ dhcp-0.10/radvd_token.l	2005-01-07 16:32:37.593865082 -0500
@@ -341,5 +341,5 @@
 	}
 	fclose(yyin);
 	close(oldfd);
-	return 0;
+	return 1;
 }