Skip site navigation (1)Skip section navigation (2)
Date:      26 May 1997 20:04:29 +0100
From:      Paul Richards <paul@originat.demon.co.uk>
To:        current@freebsd.org
Subject:   ip_divert error
Message-ID:  <87oh9y5a2q.fsf@originat.demon.co.uk>

next in thread | raw e-mail | index | archive | help

ip_divert is still broken:

../../netinet/ip_divert.c: In function `div_bind':
../../netinet/ip_divert.c:314: `imp' undeclared (first use this function)
../../netinet/ip_divert.c:314: (Each undeclared identifier is reported only once
../../netinet/ip_divert.c:314: for each function it appears in.)
*** Error code 1

>From a basic perusal of the C code it looks like a simple typo in line
314 where imp should be inp but not knowing anything about the code
I'm not going to risk making the change.

Umm, the diff of rev 1.9 and 1.10 (the head) is

313a314
>       imp = sotoinpcb(so);


which looks suspiciously like someone typed in the change
without trying to compile the code (tut, tut, you know who you are).

-- 
  Dr Paul Richards, Originative Solutions Ltd.
  Internet: paul@originat.demon.co.uk
  Phone: 0370 462071 (UK Mobile)



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