Make the TransProxyType field non-const

The correct type for a STRING confparse value is char *, not const
char *.
This commit is contained in:
Nick Mathewson
2017-09-26 12:25:07 -04:00
parent 4d11a468b2
commit a5b18dfba9
+2 -2
View File
@@ -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,