PERFORCE change 106595 for review

Alex Lyashkov als at FreeBSD.org
Sun Sep 24 05:10:44 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=106595

Change 106595 by als at als_head on 2006/09/24 12:10:08

	restore set prison ip via old jail api

Affected files ...

.. //depot/projects/jail2/sys/kern/kern_jail.c#8 edit

Differences ...

==== //depot/projects/jail2/sys/kern/kern_jail.c#8 (text+ko) ====

@@ -66,7 +66,7 @@
 static int		 sysctl_jail_list(SYSCTL_HANDLER_ARGS);
 static int		 find_empty_prid(void);
 
-#define jprint(a...) 
+#define jprint(a...)
 /* printf(a) */
 
 static void
@@ -118,6 +118,7 @@
 	if (error)
 		goto e_dropref;
 
+	pr->pr_network.pr_ip = htonl(j.ip_number);
 	JAIL_SET_STARTED(pr);
 	error = jail_migrate(td, pr);
 	if (error)


More information about the p4-projects mailing list