Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2015 09:35:46 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281736 - head/usr.sbin/inetd
Message-ID:  <201504190935.t3J9ZkAL088201@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Apr 19 09:35:46 2015
New Revision: 281736
URL: https://svnweb.freebsd.org/changeset/base/281736

Log:
  identd: restore memcpy
  	I should not be committing at 2:30am....
  
  Reported by:	pluknet

Modified:
  head/usr.sbin/inetd/inetd.c

Modified: head/usr.sbin/inetd/inetd.c
==============================================================================
--- head/usr.sbin/inetd/inetd.c	Sun Apr 19 09:27:47 2015	(r281735)
+++ head/usr.sbin/inetd/inetd.c	Sun Apr 19 09:35:46 2015	(r281736)
@@ -1752,6 +1752,8 @@ more:
                 memmove(sep->se_proto, sep->se_proto + 4,
                     strlen(sep->se_proto) + 1 - 4);
                 sep->se_rpc = 1;
+		memcpy(&sep->se_ctrladdr4, bind_sa4,
+			sizeof(sep->se_ctrladdr4));
                 sep->se_rpc_prog = sep->se_rpc_lowvers =
 			sep->se_rpc_highvers = 0;
                 if ((versp = strrchr(sep->se_service, '/'))) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504190935.t3J9ZkAL088201>