Sort srv by priority and prepare for weight support
modified libpkg/dns_utils.c
@@ -40,6 +40,15 @@ typedef union {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -48,7 +57,7 @@ dns_getsrvinfo(const char *zone)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -74,6 +83,7 @@ dns_getsrvinfo(const char *zone)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -122,10 +132,21 @@ dns_getsrvinfo(const char *zone)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/utils.h
@@ -61,6 +61,7 @@ struct dns_srvinfo {
|
|
|
|
|
|
| + | |
|
|
|
|
|