From: Jeremy Allison Date: Mon, 24 Aug 2020 18:54:26 +0000 (-0700) Subject: s3: libsmb: Cleanup - Remove two more sockaddr casts inside remove_duplicate_addrs2(). X-Git-Tag: talloc-2.3.2~725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54454b30ff7da2af857b3fcc31ece6f2b39cfb09;p=thirdparty%2Fsamba.git s3: libsmb: Cleanup - Remove two more sockaddr casts inside remove_duplicate_addrs2(). Signed-off-by: Jeremy Allison Reviewed-by: David Mulder --- diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 464a9b7b4a4..7975e226f72 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -1203,13 +1203,28 @@ int remove_duplicate_addrs2(struct ip_service *iplist, int count ) /* One loop to set duplicates to a zero addr. */ for ( i=0; i