Missing address-of operator in call to pairdelete
authorpacman <pacman>
Thu, 19 Oct 2000 04:19:36 +0000 (04:19 +0000)
committerpacman <pacman>
Thu, 19 Oct 2000 04:19:36 +0000 (04:19 +0000)
src/main/auth.c

index 8b98268..244e4b2 100644 (file)
@@ -639,7 +639,7 @@ int rad_authenticate(REQUEST *request)
                                tmp->lvalue = htonl(ntohl(tmp->lvalue) + nas_port);
                                tmp->addport = 0;
                        }
-                       pairdelete(request->reply->vps, PW_ADD_PORT_TO_IP_ADDRESS);
+                       pairdelete(&request->reply->vps, PW_ADD_PORT_TO_IP_ADDRESS);
                }
        }