diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-17 02:18:05 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-17 02:18:05 +0000 |
commit | 6c59170bca7b079bb699aa4fe6a5bf790e0dea6e (patch) | |
tree | 83a5fb38fba33a2f9e88f2df143b28d6ebc3b483 /net-mgmt/bpft/files/patch-ac | |
parent | Revert to rev. 1.4, which will restore some bugs in the previous version (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_0_0'.release/4.0.0
Diffstat (limited to 'net-mgmt/bpft/files/patch-ac')
-rw-r--r-- | net-mgmt/bpft/files/patch-ac | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/net-mgmt/bpft/files/patch-ac b/net-mgmt/bpft/files/patch-ac deleted file mode 100644 index 407d0129f48a..000000000000 --- a/net-mgmt/bpft/files/patch-ac +++ /dev/null @@ -1,45 +0,0 @@ ---- lib/addrtoname.c Fri Jan 12 17:42:37 1996 -+++ lib/addrtoname.c Thu Jul 25 07:37:56 1996 -@@ -294,8 +294,8 @@ - #ifdef ETHER_SERVICE - if (!nflag) { -- cp = ETHER_ntohost(ep); -- if (cp) { -- tp->e_name = cp; -- return cp; -+ char buf[128]; -+ if (ether_ntohost(buf, ep) == 0) { -+ tp->e_name =strdup(buf); -+ return tp->e_name; - } - } ---- lib/gencode.c Wed Jan 10 12:27:13 1996 -+++ lib/gencode.c Thu Jul 25 07:43:16 1996 -@@ -841,4 +841,5 @@ - struct block *b, *tmp; - int port, real_proto; -+ static char wrk[6]; - - switch (q.addr) { -@@ -854,6 +855,9 @@ - case Q_HOST: - if (proto == Q_LINK) { - /* XXX Should lookup hw addr based on link layer */ -- eaddr = ETHER_hostton(name); -+ if (ether_hostton(name, wrk) == 0) -+ eaddr = wrk; -+ else -+ eaddr = 0; - if (eaddr == 0) - error("unknown ether host '%s'", name); -@@ -896,5 +901,9 @@ - - case Q_GATEWAY: -- eaddr = ETHER_hostton(name); -+ /* XXX Should lookup hw addr based on link layer */ -+ if (ether_hostton(name, wrk) == 0) -+ eaddr = wrk; -+ else -+ eaddr = 0; - if (eaddr == 0) - error("unknown ether host: %s", name); |