dlm: fix address compare
authorDavid Teigland <teigland@redhat.com>
Thu, 28 Aug 2008 16:36:19 +0000 (11:36 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 2 Sep 2008 19:32:08 +0000 (14:32 -0500)
commit44be6fdf1056b685eb79e53e42bd2d321b085cfc
tree3af8658e3400b5090b78f730591da8e347cde327
parentc1dcf65ffc5796bf4ff75c13f448e63b3a416fd6
dlm: fix address compare

Compare only the addr and port fields of sockaddr structures.
Fixes a problem with ipv6 where sin6_scope_id does not match.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/config.c