mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Make the TransProxyType field non-const
The correct type for a STRING confparse value is char *, not const char *.
This commit is contained in:
+2
-2
@@ -3704,8 +3704,8 @@ typedef struct {
|
||||
config_line_t *SocksPort_lines;
|
||||
/** Ports to listen on for transparent pf/netfilter connections. */
|
||||
config_line_t *TransPort_lines;
|
||||
const char *TransProxyType; /**< What kind of transparent proxy
|
||||
* implementation are we using? */
|
||||
char *TransProxyType; /**< What kind of transparent proxy
|
||||
* implementation are we using? */
|
||||
/** Parsed value of TransProxyType. */
|
||||
enum {
|
||||
TPT_DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user