Date: Sun, 07 Jun 1998 11:46:30 +0100 From: Brian Somers <brian@Awfulhak.org> To: John Polstra <jdp@polstra.com> Cc: toj@gorillanet.gorilla.net, current@FreeBSD.ORG Subject: Re: IP Packet Aliasing Broke? Message-ID: <199806071046.LAA00965@awfulhak.org> In-Reply-To: Your message of "Mon, 01 Jun 1998 19:27:22 PDT." <199806020227.TAA25559@austin.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This stuff should be fixed now. dlopen() searches for the lib if the name has no ``/'' characters and the library's specified differently in ppp/loadalias.c for -current..... Now all we need is char *dlfind(const char *, int *major, int *minor) so that we can char *name; void *dl; int major = 2, minor = -1; name = dlfind("alias", &major, &minor); if (name) { if (minor < 5) fprintf(stderr, "Found version 2.%d, require at least " "version 2.5\n", minor); else { dl = dlopen(name, ....); .... } } free(name); Has anyone any objections to me implementing dlfind() ? > > > > On May 28 packet forwarding was working, on the 29 it was *not*. > > > > Any ideas or did I miss something? All I have done is make world > > > > and kernel rebuid. > > > > No, sorry for not being clear. User ppp ip packet aliasing. Trying to > > figure out what happened but haven't yet. > > You might have gotten bitten by the move of the libraries from > /usr/lib to /usr/lib/aout. Where is libalias.so.*? If it is in > /usr/lib/aout, try creating a symlink to it in /usr/lib. > > John > -- > John Polstra jdp@polstra.com > John D. Polstra & Co., Inc. Seattle, Washington USA > "Self-knowledge is always bad news." -- John Barth -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806071046.LAA00965>