diff options
author | Steve Price <steve@FreeBSD.org> | 1998-07-20 04:52:26 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-07-20 04:52:26 +0000 |
commit | ef0ccf3dc064635d0e2ca4021fbe5f25143cf712 (patch) | |
tree | 3da3874479ba1e9853d0b51e121736dc6ba01310 | |
parent | d73cede61fcb85a81e946912048a96a36c2cd034 (diff) | |
download | src-ef0ccf3dc064635d0e2ca4021fbe5f25143cf712.tar.gz src-ef0ccf3dc064635d0e2ca4021fbe5f25143cf712.zip |
Remove no longer needed FreeBSD specific code.
PR: 5497
Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk>
Obtained from: OpenBSD (indirectly it seems so just to be safe)
Notes
Notes:
svn path=/head/; revision=37769
-rw-r--r-- | libexec/rbootd/rmpproto.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libexec/rbootd/rmpproto.c b/libexec/rbootd/rmpproto.c index 9a68e3c62983..989ba8649e08 100644 --- a/libexec/rbootd/rmpproto.c +++ b/libexec/rbootd/rmpproto.c @@ -49,7 +49,7 @@ static const char sccsid[] = "@(#)rmpproto.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: rmpproto.c,v 1.4 1997/11/24 07:33:41 charnier Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -575,12 +575,7 @@ SendPacket(rconn) */ memmove((char *)&rconn->rmp.hp_hdr.daddr[0], (char *)&rconn->rmp.hp_hdr.saddr[0], RMP_ADDRLEN); -#ifdef __FreeBSD__ - /* BPF (incorrectly) wants this in host order. */ - rconn->rmp.hp_hdr.len = rconn->rmplen - sizeof(struct hp_hdr); -#else rconn->rmp.hp_hdr.len = htons(rconn->rmplen - sizeof(struct hp_hdr)); -#endif /* * Reverse 802.2/HP Extended Source & Destination Access Pts. |