From e315ecf3d2f9af533c4c127efc521e6464cbadb1 Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Sat, 6 Feb 2016 19:32:46 +0200 Subject: [PATCH] Don't call msg_hdr_ntoh twice --- nmrp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/nmrp.c b/nmrp.c index 781a0d2..c0eb546 100644 --- a/nmrp.c +++ b/nmrp.c @@ -158,7 +158,6 @@ static int msg_ntoh(struct nmrp_msg *msg) struct nmrp_opt *opt = msg->opts; int remaining; - msg_hdr_ntoh(msg); remaining = msg->len - NMRP_HDR_LEN; // FIXME maximum of two options supported, maximum option -- 2.25.1