diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-03-01 20:05:41 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-03-01 20:05:41 +0000 |
commit | 7d15b64d19dac8ab60731189e4696b852acf1b08 (patch) | |
tree | 03d99b29cf9f9a345eec73cdd3244779c71dc01a /net-mgmt | |
parent | 1f50028026b079363f1284eae5fefdc224b66422 (diff) | |
download | ports-7d15b64d19dac8ab60731189e4696b852acf1b08.tar.gz ports-7d15b64d19dac8ab60731189e4696b852acf1b08.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/scotty3/files/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mgmt/scotty3/files/patch-ab b/net-mgmt/scotty3/files/patch-ab new file mode 100644 index 000000000000..5117a58b2f53 --- /dev/null +++ b/net-mgmt/scotty3/files/patch-ab @@ -0,0 +1,20 @@ +diff -u -r tnm/generic/tnmUtil.c tnm/generic/tnmUtil.c +--- ../tnm/generic/tnmUtil.c Tue Aug 6 17:20:38 1996 ++++ ../tnm/generic/tnmUtil.c Sat Mar 1 20:45:12 1997 +@@ -400,7 +400,7 @@ + if (hostEntry) { + struct sockaddr_in *caddr; + caddr = (struct sockaddr_in *) Tcl_GetHashValue(hostEntry); +- addr->sin_addr.s_addr = caddr->sin_addr.s_addr; ++ addr->sin_addr.s_addr = ntohl(caddr->sin_addr.s_addr); + return TCL_OK; + } + +@@ -425,6 +425,7 @@ + memcpy((char *) &addr->sin_addr, (char *) &hostaddr, 4); + } + ++ addr->sin_addr.s_addr = ntohl(addr->sin_addr.s_addr); + return TCL_OK; + } + |