Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 1997 08:33:14 -0800 (PST)
From:      Brian Somers <brian>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/netinet ip_divert.c ip_input.c ip_output.c
Message-ID:  <199702021633.IAA24390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
brian       97/02/02 08:33:14

  Modified:    sys/netinet  ip_divert.c ip_input.c ip_output.c
  Log:
  Reset ip_divert_ignore to zero immediately after use - also,
  set it in the first place, independent of whether sin->sin_port
  is set.
  
  The result is that diverted packets that are being forwarded
  will be diverted once and only once on the way in (ip_input())
  and again, once and only once on the way out (ip_output()) -
  twice in total.  ICMP packets that don't contain a port will
  now also be diverted.
  
  Revision  Changes    Path
  1.4       +1 -2      src/sys/netinet/ip_divert.c
  1.56      +1 -0      src/sys/netinet/ip_input.c
  1.48      +1 -0      src/sys/netinet/ip_output.c



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