version 1.1.1.1, 2012/02/21 17:26:11
|
version 1.1.1.2, 2016/11/02 10:09:10
|
Line 52 if_ioctl (u_long request, caddr_t buffer)
|
Line 52 if_ioctl (u_long request, caddr_t buffer)
|
{ |
{ |
int sock; |
int sock; |
int ret; |
int ret; |
int err; | int err = 0; |
|
|
if (zserv_privs.change(ZPRIVS_RAISE)) |
if (zserv_privs.change(ZPRIVS_RAISE)) |
zlog (NULL, LOG_ERR, "Can't raise privileges"); |
zlog (NULL, LOG_ERR, "Can't raise privileges"); |
Line 85 if_ioctl_ipv6 (u_long request, caddr_t buffer)
|
Line 85 if_ioctl_ipv6 (u_long request, caddr_t buffer)
|
{ |
{ |
int sock; |
int sock; |
int ret; |
int ret; |
int err; | int err = 0; |
|
|
if (zserv_privs.change(ZPRIVS_RAISE)) |
if (zserv_privs.change(ZPRIVS_RAISE)) |
zlog (NULL, LOG_ERR, "Can't raise privileges"); |
zlog (NULL, LOG_ERR, "Can't raise privileges"); |