Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
netcontrol
0002-Fix-invalid-check-in-route-creation-bsc-11...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Fix-invalid-check-in-route-creation-bsc-1148646.patch of Package netcontrol
From 1cd284f95ce47e0eb79314b3a27e099f443aefdb Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski <mt@suse.de> Date: Fri, 11 Oct 2019 12:37:31 +0200 References: bsc#1148646 Upstream: merged Subject: [PATCH] Fix invalid check in route creation (bsc#1148646) diff --git a/src/nutils.c b/src/nutils.c index bda1b64..a2b8223 100644 --- a/src/nutils.c +++ b/src/nutils.c @@ -578,8 +578,7 @@ nc_route_create(unsigned int prefixlen, const nc_sockaddr_t *dest, nc_error("Cannot create route - destination and gw are both 0/0"); return NULL; } - /* TODO: we have to parse opts (type + opts) */ - if(!nc_string_len(ifname) && !opts && !*opts) { + if(!nc_string_len(ifname)) { nc_error("Cannot create route - interface route requires an interface"); return NULL; } -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor