PERFORCE change 105392 for review

Paolo Pisati piso at FreeBSD.org
Thu Aug 31 10:36:56 UTC 2006


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

Change 105392 by piso at piso_newluxor on 2006/08/31 10:36:05

	Call LibAliasRefreshModules() from LibAliasInit().

Affected files ...

.. //depot/projects/soc2005/libalias/sbin/natd/natd.c#4 edit
.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_db.c#6 edit
.. //depot/projects/soc2005/libalias/usr.sbin/ppp/main.c#3 edit

Differences ...

==== //depot/projects/soc2005/libalias/sbin/natd/natd.c#4 (text+ko) ====

@@ -350,9 +350,6 @@
 	signal (SIGTERM, InitiateShutdown);
 	signal (SIGHUP, RefreshAddr);
 
-/* Load all libalias modules */
-	LibAliasRefreshModules();
-
 /*
  * Set alias address if it has been given.
  */

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_db.c#6 (text+ko) ====

@@ -2512,6 +2512,9 @@
 #ifndef NO_FW_PUNCH
 	la->fireWallFD = -1;
 #endif
+#ifndef _KERNEL
+	LibAliasRefreshModules();
+#endif
 	return (la);
 }
 

==== //depot/projects/soc2005/libalias/usr.sbin/ppp/main.c#3 (text+ko) ====

@@ -328,7 +328,6 @@
 
 #ifndef NONAT
   PacketAliasInit();
-  LibAliasRefreshModules();
 #endif
   label = ProcessArgs(argc, argv, &sw);
 


More information about the p4-projects mailing list