Skip to content
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

Correct PPPCellularInterface::get_gateway() #7161

Merged
merged 1 commit into from Jun 12, 2018

Conversation

kjbracey
Copy link
Contributor

@kjbracey kjbracey commented Jun 7, 2018

Description

Two cascading copy-paste errors stopped this working:

  • PPPCellularInterface::get_gateway() called nsapi_ppp_get_ip_address();
  • nsapi_ppp_get_gateway() called the interface's get_netmask().

First bug has always been there - second one was introduced in 5.9.

AT_CellularNetwork currently lacks calls to get both netmask and gateway - this patch would be needed for that when added.

Pull request type

[X] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

@kjbracey kjbracey requested a review from a user June 7, 2018 10:45
ghost
ghost previously approved these changes Jun 7, 2018
0xc0170
0xc0170 previously approved these changes Jun 7, 2018
Two cascading copy-paste errors stopped this working:

  * PPPCellularInterface::get_gateway() called
    nsapi_ppp_get_ip_address();
  * nsapi_ppp_get_gateway() called the interface's get_netmask().

First bug has always been there - second one was introduced in 5.9.

AT_CellularNetwork currently lacks calls to get both netmask and gateway
- this patch would be needed for that when added.
@kjbracey kjbracey dismissed stale reviews from 0xc0170 and ghost via 45e24d4 June 7, 2018 11:28
@0xc0170
Copy link
Contributor

0xc0170 commented Jun 8, 2018

/morph build

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 8, 2018

Build will be resumed, once rc3 completes

@mbed-ci
Copy link

mbed-ci commented Jun 8, 2018

Build : FAILURE

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

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 9, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Jun 9, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Jun 9, 2018

@mbed-ci
Copy link

mbed-ci commented Jun 10, 2018

@kjbracey
Copy link
Contributor Author

CI passed - just need reviews reapplied following edit.

@cmonr cmonr merged commit ed9a1f1 into ARMmbed:master Jun 12, 2018
@kjbracey kjbracey deleted the ppp-gateway branch June 18, 2018 09:46
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.

None yet

4 participants