diff options
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.c,v 1.286 2019/06/28 13:35:04 deraadt Exp $ */ | 1 | /* $OpenBSD: packet.c,v 1.287 2019/12/16 13:58:53 tobhe Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -530,9 +530,9 @@ ssh_remote_ipaddr(struct ssh *ssh) | |||
530 | ssh->local_ipaddr = get_local_ipaddr(sock); | 530 | ssh->local_ipaddr = get_local_ipaddr(sock); |
531 | ssh->local_port = get_local_port(sock); | 531 | ssh->local_port = get_local_port(sock); |
532 | } else { | 532 | } else { |
533 | ssh->remote_ipaddr = strdup("UNKNOWN"); | 533 | ssh->remote_ipaddr = xstrdup("UNKNOWN"); |
534 | ssh->remote_port = 65535; | 534 | ssh->remote_port = 65535; |
535 | ssh->local_ipaddr = strdup("UNKNOWN"); | 535 | ssh->local_ipaddr = xstrdup("UNKNOWN"); |
536 | ssh->local_port = 65535; | 536 | ssh->local_port = 65535; |
537 | } | 537 | } |
538 | } | 538 | } |