Diff for /embedaddon/quagga/zebra/ioctl.c between versions 1.1.1.1 and 1.1.1.2

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");

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>