]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Thu, 22 Jun 2017 19:55:01 +0000 (15:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 22 Jun 2017 19:55:01 +0000 (15:55 -0400)
src/modules/proto_radius/proto_radius_udp.c

index b6510bd035e0940e21c1dc0bfe0e5befa88d1a2d..65eff21c30862e718ab3b42224b732f50d04632a 100644 (file)
@@ -164,7 +164,7 @@ static int mod_decode(UNUSED void const *instance, REQUEST *request, UNUSED uint
        request->reply->src_ipaddr = address->dst_ipaddr;
        request->reply->src_port = address->dst_port;
        request->reply->dst_ipaddr = address->src_ipaddr;
-       request->reply->dst_port = address->dst_port;
+       request->reply->dst_port = address->src_port;
 
        request->root = &main_config;
        request->server = cf_section_name2(request->server_cs);