diff --git a/src/proxymain.c b/src/proxymain.c index 95f8b1c..55a382d 100644 --- a/src/proxymain.c +++ b/src/proxymain.c @@ -677,7 +677,7 @@ int MODULEMAINFUNC (int argc, char** argv){ #endif #if defined SO_BINDTODEVICE if(srv.ibindtodevice && srv.so._setsockopt(srv.so.state, sock, SOL_SOCKET, SO_BINDTODEVICE, srv.ibindtodevice, strlen(srv.ibindtodevice) + 1)) { - dolog(&defparam, "failed to bind device"); + dolog(&defparam, (unsigned char *)"failed to bind device"); return -12; } #elif defined IP_BOUND_IF