]> git.puffer.fish Git - mirror/frr.git/commit
[lib] re-enable conversion of v6mapped INET6 sockunions to regular INET
authorPaul Jakma <paul.jakma@sun.com>
Tue, 9 Sep 2008 20:17:04 +0000 (21:17 +0100)
committerPaul Jakma <paul@quagga.net>
Tue, 9 Sep 2008 20:17:04 +0000 (21:17 +0100)
commit1a7dcf42a244d758732464be389f5cdb1358b9e4
tree2ffaad12282dda97d2f180e6c0c0a52d9e38d595
parent2b2fc5606f035eabd322b3a6aad4349efb9ab542
[lib] re-enable conversion of v6mapped INET6 sockunions to regular INET

* lib/sockunion.c: Re-enable conversion of v6mapped INET6 sockunions to
  regular INET sockunions, which was disabled in 0df7c9, as it leads to
  failures in sockunion_cmp.
  (sockunion_normalise_mapped) consolidate here
  (sockunion_accept) remove conversion code altogether here - no sockunion
  is created
  (sockunion_get{sockname,peername}) normalise newly created sockunion.
lib/sockunion.c