Date: Thu, 31 Aug 2006 10:36:55 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 105392 for review Message-ID: <200608311036.k7VAatbq021870@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105392 Change 105392 by piso@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608311036.k7VAatbq021870>