ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slirp/bootp.c
(Generate patch)

Comparing BasiliskII/src/slirp/bootp.c (file contents):
Revision 1.1 by gbeauche, 2005-05-13T09:00:59Z vs.
Revision 1.2 by gbeauche, 2005-05-13T14:02:37Z

# Line 238 | Line 238 | static void bootp_reply(struct bootp_t *
238  
239   void bootp_input(struct mbuf *m)
240   {
241 <    struct bootp_t *bp = (struct bootp_t *)m->m_data;
241 >    struct bootp_t *bp = mtod(m, struct bootp_t *);
242  
243      if (bp->bp_op == BOOTP_REQUEST) {
244          bootp_reply(bp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines