diff options
author | steve <steve@FreeBSD.org> | 1998-07-20 04:52:26 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-07-20 04:52:26 +0000 |
commit | b85e472e7e9dcfe7d707c1105d58d87323d8ff3c (patch) | |
tree | afa85318a99d5905e4cdcca796da137ac24334fe /libexec/rbootd | |
parent | b2313fb5d398faac45d3afa1537ea9534045953c (diff) | |
download | FreeBSD-src-b85e472e7e9dcfe7d707c1105d58d87323d8ff3c.zip FreeBSD-src-b85e472e7e9dcfe7d707c1105d58d87323d8ff3c.tar.gz |
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)
Diffstat (limited to 'libexec/rbootd')
-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 9a68e3c..989ba86 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. |