commit a5b18dfba9752d9785172dc814802c482cc77f0e
parent 4d11a468b20a116978f89115a75cdc45fe5da8ad
Author: Nick Mathewson <nickm@torproject.org>
Date: Tue, 26 Sep 2017 12:25:07 -0400
Make the TransProxyType field non-const
The correct type for a STRING confparse value is char *, not const
char *.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/or/or.h b/src/or/or.h
@@ -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,