diff options
Diffstat (limited to 'src/libfreeswan/ttoprotoport.c')
-rw-r--r-- | src/libfreeswan/ttoprotoport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfreeswan/ttoprotoport.c b/src/libfreeswan/ttoprotoport.c index c3d033168..e75b206be 100644 --- a/src/libfreeswan/ttoprotoport.c +++ b/src/libfreeswan/ttoprotoport.c @@ -72,7 +72,7 @@ bool *has_port_wildcard; /* set if port is %any */ /* is there a port wildcard? */ *has_port_wildcard = (strcmp(service_name, "%any") == 0); - + if (*has_port_wildcard) { *port = 0; |