From ef0ccf3dc064635d0e2ca4021fbe5f25143cf712 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 20 Jul 1998 04:52:26 +0000 Subject: [PATCH] Remove no longer needed FreeBSD specific code. PR: 5497 Submitted by: Jacob Bohn Lorensen Obtained from: OpenBSD (indirectly it seems so just to be safe) --- libexec/rbootd/rmpproto.c | 7 +------ 1 file changed, 1 insertion(+), 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 @@ -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.