[riot-notifications] [RIOT-OS/RIOT] gnrc_tcp: allow unknown options (#12298)

Martine Lenders notifications at github.com
Tue Sep 24 19:42:08 CEST 2019


miri64 commented on this pull request.



> @@ -51,7 +51,9 @@ int _option_parse(gnrc_tcp_tcb_t *tcb, tcp_hdr_t *hdr)
                 continue;
 
             case TCP_OPTION_KIND_MSS:
-                if (opt_left < TCP_OPTION_LENGTH_MIN || option->length > opt_left || option->length != TCP_OPTION_LENGTH_MSS) {
+                if (opt_left < TCP_OPTION_LENGTH_MIN || option->length > opt_left ||
+                    option->length != TCP_OPTION_LENGTH_MSS) {
+                    

Usually we put unrelated beatification piggy-backs like this in a separate commit ;-).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12298#discussion_r327747349
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190924/51b6d59d/attachment.htm>


More information about the notifications mailing list