# | Line 12 | Line 12 | |
---|---|---|
12 | ||
13 | #define TFTP_FILENAME_MAX 512 | |
14 | ||
15 | + | #ifdef PRAGMA_PACK_SUPPORTED |
16 | + | #pragma pack(1) |
17 | + | #endif |
18 | + | |
19 | struct tftp_t { | |
20 | struct ip ip; | |
21 | struct udphdr udp; | |
# | Line 27 | Line 31 | struct tftp_t { | |
31 | } tp_error; | |
32 | u_int8_t tp_buf[512 + 2]; | |
33 | } x; | |
34 | < | }; |
34 | > | } PACKED__; |
35 | > | |
36 | > | #ifdef PRAGMA_PACK_SUPPORTED |
37 | > | #pragma pack(0) |
38 | > | #endif |
39 | ||
40 | void tftp_input(struct mbuf *m); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |