git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df88e66
)
s3 net: Fix a discard const warning
author
Kai Blin
<kai@samba.org>
Sun, 25 Sep 2011 20:24:50 +0000
(13:24 -0700)
committer
Kai Blin
<kai@samba.org>
Wed, 28 Sep 2011 00:02:35 +0000
(
02:02
+0200)
source3/utils/net_dns.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_dns.c
b/source3/utils/net_dns.c
index f146f29bcd41b7b1fc4fe9bfab362493fbae9e0f..559c14def42bdb3f3b7b7852b77a3513e3402736 100644
(file)
--- a/
source3/utils/net_dns.c
+++ b/
source3/utils/net_dns.c
@@
-166,7
+166,7
@@
int get_my_ip_address( struct sockaddr_storage **pp_ss )
continue;
/* Don't register loopback addresses */
- if (is_loopback_addr((struct sockaddr *)nic_sa_storage)) {
+ if (is_loopback_addr((
const
struct sockaddr *)nic_sa_storage)) {
continue;
}