(upstream_get):
(upstream_add): Added support to allow ip addresses and networks to be used when matching an upstream proxy directive. [Code by Peter da Silva]
This commit is contained in:
1 parent
ea50171a95
commit
91e082671a
2 files changed
+67
-38
No files matched your search
+2
-1
@@ -1,4 +1,4 @@
|
||||
/* $Id: tinyproxy.h,v 1.39 2003-05-29 19:43:57 rjkaes Exp $
|
||||
/* $Id: tinyproxy.h,v 1.40 2003-06-02 21:55:14 rjkaes Exp $
|
||||
*
|
||||
* See 'tinyproxy.c' for a detailed description.
|
||||
*
|
||||
@@ -31,6 +31,7 @@ struct upstream {
|
||||
char *domain; /* optional */
|
||||
char *host;
|
||||
int port;
|
||||
in_addr_t ip, mask;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user