Pass complete port range over stroke interface for more flexibility

This commit is contained in:
Martin Willi
2013-02-21 11:52:33 +01:00
parent a1db77de7c
commit cd41b951ee
7 changed files with 21 additions and 24 deletions
+2 -2
View File
@@ -115,7 +115,8 @@ struct starter_end {
bool hostaccess;
bool allow_any;
char *updown;
u_int16_t port;
u_int16_t from_port;
u_int16_t to_port;
u_int8_t protocol;
char *sourceip;
char *dns;
@@ -246,4 +247,3 @@ extern starter_config_t *confread_load(const char *file);
extern void confread_free(starter_config_t *cfg);
#endif /* _IPSEC_CONFREAD_H_ */