# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |