]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix a crash on a rpc entry when an IPv6 address is explicitly specified
authorhrs <hrs@FreeBSD.org>
Sat, 19 Sep 2015 23:27:22 +0000 (23:27 +0000)
committerhrs <hrs@FreeBSD.org>
Sat, 19 Sep 2015 23:27:22 +0000 (23:27 +0000)
commit640e18a8e1f7af344479860b74a9231045e6123b
tree2b22cf28e33536dce76d708eacb78a6da9366c33
parentb76aba50082143fbcb47fa56a6c70fbbb604965a
- Fix a crash on a rpc entry when an IPv6 address is explicitly specified
  in -a flag.

- Fix a bug that sockaddr_in was used where sockaddr_in6 should have
  been used.  This was not actually harmful because offsetof(struct
  sockaddr_in, sin_port) is equal to offsetof(struct sockaddr_in6,
  sin6_port).

MFC after: 1 day
usr.sbin/inetd/inetd.c