patchFreeciv - Patches: patch #3760, IPv6 support check from callers to...

 
 
Show feedback again

patch #3760: IPv6 support check from callers to net_lookup_service()

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Wed 27 Feb 2013 03:53:30 PM UTC  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 13 Mar 2013 08:49:10 PM UTC, SVN revision 22513:

Made FC_ADDR_ANY legal value to pass to net_lookup_service() even when IPv6
support is disabled. It checks itself if IPv6 addresses are valid.

See patch #3760

(Browse SVN revision 22513)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Wed 27 Feb 2013 03:53:30 PM UTC, original submission:

Currently net_lookup_service() callers check if IPV6 support is enabled or not and call it with either FC_ADDR_ANY or FC_ADDR_IPv4 depending on the result.
Attached patch makes the callers to always use FC_ADDR_ANY and net_lookup_service() itself to decide if IPv6 address is suitable return for request of "any" address type.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 13 Mar 2013 08:49:21 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Wed 27 Feb 2013 03:53:30 PM UTCcazfiAttached File-=>Added NetLookupServiceAnyFamily.patch, #17365
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup