Mercurial > hg > freeDiameter
comparison extensions/app_radgw/rgw_clients.c @ 1417:0918e88f7c33
fix warnings detected by Apple clang 11.0.0
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Tue, 18 Feb 2020 19:12:16 +1100 |
parents | 3cbe458fbfa9 |
children | 915450ee91c7 |
comparison
equal
deleted
inserted
replaced
1416:a2ce56c34dd8 | 1417:0918e88f7c33 |
---|---|
708 | 708 |
709 /* At this point, we only have nas_id, and the client is not local */ | 709 /* At this point, we only have nas_id, and the client is not local */ |
710 ASSERT(nas_id); | 710 ASSERT(nas_id); |
711 | 711 |
712 { | 712 { |
713 int found, ret; | 713 int found = 0, ret; |
714 struct addrinfo hint, *res, *ptr; | 714 struct addrinfo hint, *res, *ptr; |
715 | 715 |
716 /* | 716 /* |
717 In RADIUS it would be possible for a rogue NAS to forge the NAS- | 717 In RADIUS it would be possible for a rogue NAS to forge the NAS- |
718 Identifier attribute. Diameter/RADIUS translation agents SHOULD | 718 Identifier attribute. Diameter/RADIUS translation agents SHOULD |