Skip to content

lwIP: fix some IPv6 errors, eg TCP keepalive #6416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

kjbracey
Copy link
Contributor

Description

Glue code was inspecting lwIP's netconn type, checking directly for NETCONN_UDP and NETCONN_TCP.

Unfortunately the type byte has some flag bits like "IPv6", which means the tests fail if it's an IPv6 socket. So, for example, TCP socket options were rejected for IPv6.

Add the necessary NETCONNTYPE_GROUP macros to fix this.

Pull request type

  • Fix
  • Refactor
  • New target
  • Feature
  • Breaking change

Glue code was inspecting lwIP's netconn "type", checking directly for
NETCONN_UDP and NETCONN_TCP.

Unfortunately the type byte has some flag bits like
"IPv6", which means the tests fail if it's an IPv6 socket. So, for
example, TCP socket options were rejected for IPv6.

Add the necessary NETCONNTYPE_GROUP macros to fix this.
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 23, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Mar 23, 2018

Build : SUCCESS

Build number : 1550
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6416/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Mar 24, 2018

@mbed-ci
Copy link

mbed-ci commented Mar 24, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 24, 2018

/morph export-build

@mbed-ci
Copy link

mbed-ci commented Mar 24, 2018

@cmonr cmonr merged commit 57b48f6 into ARMmbed:master Mar 26, 2018
@kjbracey kjbracey deleted the lwip_netconntype_fix branch April 3, 2018 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants