[netfilter-cvslog] r7284 - trunk/conntrack-tools/src

pablo at netfilter.org pablo at netfilter.org
Tue Jan 22 02:36:32 CET 2008


Author: pablo at netfilter.org
Date: 2008-01-22 02:36:32 +0100 (Tue, 22 Jan 2008)
New Revision: 7284

Modified:
   trunk/conntrack-tools/src/run.c
Log:
minor cleanups


Modified: trunk/conntrack-tools/src/run.c
===================================================================
--- trunk/conntrack-tools/src/run.c	2008-01-22 01:32:21 UTC (rev 7283)
+++ trunk/conntrack-tools/src/run.c	2008-01-22 01:36:32 UTC (rev 7284)
@@ -43,7 +43,7 @@
 	local_server_destroy(STATE(local), CONFIG(local).path);
 	STATE(mode)->kill();
 	destroy_alarm_hash();
-        unlink(CONFIG(lockfile));
+	unlink(CONFIG(lockfile));
 	dlog(LOG_NOTICE, "---- shutdown received ----");
 	close_log();
 
@@ -73,7 +73,7 @@
 	switch(type) {
 	case FLUSH_MASTER:
 		dlog(LOG_WARNING, "`conntrackd -F' is deprecated. "
-				 	      "Use conntrack -F instead.");
+				  "Use conntrack -F instead.");
 		if (fork() == 0) {
 			execlp("conntrack", "conntrack", "-F", NULL);
 			exit(EXIT_SUCCESS);
@@ -122,7 +122,8 @@
 	}
 
 	if (nl_init_event_handler() == -1) {
-		dlog(LOG_ERR, "can't open netlink handler: %s", strerror(errno));
+		dlog(LOG_ERR, "can't open netlink handler: %s", 
+		     strerror(errno));
 		dlog(LOG_ERR, "no ctnetlink kernel support?");
 		return -1;
 	}
@@ -178,8 +179,7 @@
 		if (errno == EINTR)
 			return;
 
-		dlog(LOG_WARNING, 
-		     "select failed: %s", strerror(errno));
+		dlog(LOG_WARNING, "select failed: %s", strerror(errno));
 		return;
 	}
 




More information about the netfilter-cvslog mailing list