5359edc160de518d8e43fdd3448365c15b912c3c galt Mon Jul 22 11:48:10 2019 -0700 Added ipv6 support. Listening processes us hybrid dual stack feature of OS to simplify implementation and use a single listening socket. Works with both TCP and UDP. Parasol working. geoIp also updated and ready for IPv6. Should be invisible to most users, while providing connections via ipv6 where available. Supports both ipv4 and ipv6. diff --git src/hg/inc/geoMirror.h src/hg/inc/geoMirror.h index 519ddbe..014df71 100644 --- src/hg/inc/geoMirror.h +++ src/hg/inc/geoMirror.h @@ -2,25 +2,25 @@ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #ifndef GEOMIRROR_H #define GEOMIRROR_H #include "hdb.h" boolean geoMirrorEnabled(); // return TRUE if this site has geographic mirroring turned on char *geoMirrorNode(); // return which geo mirror node this is (or NULL if geo mirroring is turned off) -int defaultNode(struct sqlConnection *centralConn, char *ipStr); +int geoMirrorDefaultNode(struct sqlConnection *centralConn, char *ipStr); // return default node for given IP char *geoMirrorMenu(); /* Create customized geoMirror menu string for substitution of into * <!-- OPTIONAL_MIRROR_MENU --> in htdocs/inc/globalNavBar.inc * Reads hgcentral geo tables and hg.conf settings. * Free the returned string when done. */ #endif /* GEOMIRROR_H */