|
Lines 107-112
Link Here
|
| 107 |
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, |
107 |
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, |
| 108 |
oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
108 |
oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
| 109 |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
109 |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
|
|
110 |
oAddressFamily, |
| 110 |
oDeprecated, oUnsupported |
111 |
oDeprecated, oUnsupported |
| 111 |
} OpCodes; |
112 |
} OpCodes; |
| 112 |
|
113 |
|
|
Lines 194-199
Link Here
|
| 194 |
{ "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, |
195 |
{ "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, |
| 195 |
{ "rekeylimit", oRekeyLimit }, |
196 |
{ "rekeylimit", oRekeyLimit }, |
| 196 |
{ "connecttimeout", oConnectTimeout }, |
197 |
{ "connecttimeout", oConnectTimeout }, |
|
|
198 |
{ "addressfamily", oAddressFamily }, |
| 197 |
{ NULL, oBadOption } |
199 |
{ NULL, oBadOption } |
| 198 |
}; |
200 |
}; |
| 199 |
|
201 |
|
|
Lines 284-289
Link Here
|
| 284 |
size_t len; |
286 |
size_t len; |
| 285 |
u_short fwd_port, fwd_host_port; |
287 |
u_short fwd_port, fwd_host_port; |
| 286 |
char sfwd_host_port[6]; |
288 |
char sfwd_host_port[6]; |
|
|
289 |
extern int IPv4or6; |
| 287 |
|
290 |
|
| 288 |
/* Strip trailing whitespace */ |
291 |
/* Strip trailing whitespace */ |
| 289 |
for(len = strlen(line) - 1; len > 0; len--) { |
292 |
for(len = strlen(line) - 1; len > 0; len--) { |
|
Lines 716-721
Link Here
|
| 716 |
} |
719 |
} |
| 717 |
if (*activep && *intptr == -1) |
720 |
if (*activep && *intptr == -1) |
| 718 |
*intptr = value; |
721 |
*intptr = value; |
|
|
722 |
break; |
| 723 |
|
| 724 |
case oAddressFamily: |
| 725 |
arg = strdelim(&s); |
| 726 |
if (strcasecmp(arg, "inet") == 0) |
| 727 |
IPv4or6 = AF_INET; |
| 728 |
else if (strcasecmp(arg, "inet6") == 0) |
| 729 |
IPv4or6 = AF_INET6; |
| 730 |
else if (strcasecmp(arg, "any") == 0) |
| 731 |
IPv4or6 = AF_UNSPEC; |
| 732 |
else |
| 733 |
fatal("Unsupported AddressFamily \"%s\"", arg); |
| 719 |
break; |
734 |
break; |
| 720 |
|
735 |
|
| 721 |
case oEnableSSHKeysign: |
736 |
case oEnableSSHKeysign: |