]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 6 Nov 2020 01:30:06 +0000 (19:30 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 6 Nov 2020 01:30:06 +0000 (19:30 -0600)
src/protocols/radius/packet.c

index 5ce35ea749993cedc105da35f03ebd9e50740089..35b44f6a9f0edd3adbf84494dfa224cc8544e99e 100644 (file)
@@ -359,7 +359,7 @@ static ssize_t rad_recvfrom(int sockfd, fr_radius_packet_t *packet, int flags)
 
        packet->data_len = data_len;
 
-       address->socket.proto = IPPROTO_UDP;
+       packet->socket.proto = IPPROTO_UDP;
        return udp_recv(sockfd, packet->data, packet->data_len, flags,
                        &packet->socket.inet.src_ipaddr, &packet->socket.inet.src_port,
                        &packet->socket.inet.dst_ipaddr, &packet->socket.inet.dst_port,