Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Avoid crash when network has no gateway #749

Merged
merged 1 commit into from
Jan 23, 2021
Merged

Conversation

bboreham
Copy link
Contributor

A route doesn't have to have a gateway; it can be directed to a device.

Fixes #748

It seems to me those ip, gw, etc., don't need to be pointers, but I didn't drill too deeply into it.

A route doesn't have to have a gateway; it can be directed to a device.
@stealthybox stealthybox merged commit f7266d1 into master Jan 23, 2021
@stealthybox stealthybox deleted the dont-crash-on-nil-gw branch January 23, 2021 04:02
@stealthybox stealthybox added area/networking Issues related to networking kind/bug Categorizes issue or PR as related to a bug. labels Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/networking Issues related to networking kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on network device with no gateway
2 participants