diff options
| author | Michael Biebl <biebl@debian.org> | 2016-04-12 17:33:55 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-04-12 17:33:55 +0200 |
| commit | bec7235248782867b4975154c831f3b42d788f3c (patch) | |
| tree | 098947efbe13b7fa5f9eacb03ee7b16722f16ed0 /src/nm-iface-helper.c | |
| parent | b4fb429b8967ef5028040b718678d92479142dfa (diff) | |
| parent | 288a08a3672a89a9bfdb8354b6863cc039759fc2 (diff) | |
Merge tag 'upstream/1.1.94'
Upstream version 1.1.94
Diffstat (limited to 'src/nm-iface-helper.c')
| -rw-r--r-- | src/nm-iface-helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nm-iface-helper.c b/src/nm-iface-helper.c index 5a697537..20f7729a 100644 --- a/src/nm-iface-helper.c +++ b/src/nm-iface-helper.c @@ -213,7 +213,8 @@ rdisc_config_changed (NMRDisc *rdisc, NMRDiscConfigMap changed, gpointer user_da * local configuration or user preferences are, so sending routes * with a prefix length of 0 is quite rude and thus ignored. */ - if (discovered_route->plen > 0) { + if ( discovered_route->plen > 0 + && discovered_route->plen <= 128) { memset (&route, 0, sizeof (route)); route.network = discovered_route->network; route.plen = discovered_route->plen; |