strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1c1965
)
Fixed host_create_from_subnet when no prefix is given.
author
Tobias Brunner
<tobias@strongswan.org>
Fri, 29 Jul 2011 10:11:20 +0000
(12:11 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Fri, 29 Jul 2011 10:11:20 +0000
(12:11 +0200)
src/libstrongswan/utils/host.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/utils/host.c
b/src/libstrongswan/utils/host.c
index
2895d62
..
0a6cceb
100644
(file)
--- a/
src/libstrongswan/utils/host.c
+++ b/
src/libstrongswan/utils/host.c
@@
-585,7
+585,7
@@
host_t *host_create_from_subnet(char *string, int *bits)
*bits = atoi(pos + 1);
return host_create_from_string(buf, 0);
}
- net = host_create_from_string(
buf
, 0);
+ net = host_create_from_string(
string
, 0);
if (net)
{
if (net->get_family(net) == AF_INET)