Blame SOURCES/audit-2.3.3-remote.patch

ade036
diff -urp audit-2.3.3.orig/audisp/plugins/remote/audisp-remote.c audit-2.3.3/audisp/plugins/remote/audisp-remote.c
ade036
--- audit-2.3.3.orig/audisp/plugins/remote/audisp-remote.c	2014-01-16 06:24:42.000000000 -0500
ade036
+++ audit-2.3.3/audisp/plugins/remote/audisp-remote.c	2014-03-18 12:36:32.574671943 -0400
ade036
@@ -1063,6 +1063,9 @@ static int init_transport(void)
ade036
 	{
ade036
 		case T_TCP:
ade036
 			rc = init_sock();
ade036
+			// We set this so that it will retry the connection
ade036
+			if (rc == ET_TEMPORARY)
ade036
+				remote_ended = 1;
ade036
 			break;
ade036
 		default:
ade036
 			rc = ET_PERMANENT;