From 70ce12c54c8f23b62cb9950ea2087b85cafa1cee Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Sat, 3 Oct 2015 15:25:45 +0200
Subject: [PATCH] More compile fixes.

---
 gtests/net/packetdrill/run_system_call.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index 63b93b23..ad128901 100644
--- a/gtests/net/packetdrill/run_system_call.c
+++ b/gtests/net/packetdrill/run_system_call.c
@@ -1981,8 +1981,8 @@ static int check_sctp_paddrparams(struct sctp_paddrparams_expr *expr,
 				 spp_ipv6_flowlabel, sctp_paddrparams->spp_ipv6_flowlabel);
 			return STATUS_ERR;
 		}
-	}
 #endif
+	}
 	if (expr->spp_dscp->type != EXPR_ELLIPSIS) {
 #ifdef linux
 		asprintf(error, "Bad getsockopt linux doesn't support sctp_paddrparams.spp_dscp");
@@ -1998,8 +1998,8 @@ static int check_sctp_paddrparams(struct sctp_paddrparams_expr *expr,
 				 spp_dscp, sctp_paddrparams->spp_dscp);
 			return STATUS_ERR;
 		}
-	}
 #endif
+	}
 	return STATUS_OK;
 }
 #endif
-- 
GitLab