From 5ba57cf242a9394ef289e1ac3677df1587a2a73f Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Sun, 7 Jun 2015 00:51:11 +0200
Subject: [PATCH] Use a named constant.

No functional change.
---
 gtests/net/packetdrill/run_packet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtests/net/packetdrill/run_packet.c b/gtests/net/packetdrill/run_packet.c
index bf23e161..94f1d3ee 100644
--- a/gtests/net/packetdrill/run_packet.c
+++ b/gtests/net/packetdrill/run_packet.c
@@ -2468,7 +2468,7 @@ int reset_connection(struct state *state, struct socket *socket)
 	u16 window = 0;
 	struct packet *packet = NULL;
 	struct tuple live_inbound;
-	int result = 0;
+	int result = STATUS_OK;
 
 	/* Pick TCP header fields to be something the kernel will accept. */
 	if (socket->last_injected_tcp_header.ack) {
@@ -2529,7 +2529,7 @@ int abort_association(struct state *state, struct socket *socket)
 	struct packet *packet;
 	struct sctp_chunk_list *chunk_list;
 	struct tuple live_inbound;
-	int result = 0;
+	int result = STATUS_OK;
 
 	if ((socket->live.local_initiate_tag == 0) &&
 	    (socket->live.remote_initiate_tag == 0)) {
-- 
GitLab