URL:
  <http://gna.org/patch/?2771>

                 Summary: Always check address family
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 06 Jul 2011 03:31:18 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.4.0

    _______________________________________________________

Details:

Currently only IPv6-enabled freeciv checks if addresses are IPv4 or IPv6 ones
when ever handling them. IPv4-only freeciv always assumes that family is
AF_INET, and even IPv6-enabled freeciv assumes that any address not AF_INET6
is AF_INET.

Attached patch changes all the places where AF_INET6 was already checked to
explicitly check also for AF_INET.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 06 Jul 2011 03:31:18 AM EEST  Name: AddrFamilyChecks.diff  Size:
6kB   By: cazfi

<http://gna.org/patch/download.php?file_id=13473>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2771>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to