diff options
| author | Roy Marples <roy@marples.name> | 2020-02-05 13:55:47 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-02-05 13:55:47 +0000 |
| commit | 354d22cc67eabcb755f3ce60ab22f429bcf84b7a (patch) | |
| tree | 2f92f3c2cc0c287b9a9251a0c69fbbd39d983f55 | |
| parent | 984b9c34d4c1dab2271fa1cfe3c261fb5ff5caa3 (diff) | |
| download | dhcpcd-354d22cc67eabcb755f3ce60ab22f429bcf84b7a.tar.xz | |
DHCP: Support jumbo frames
Also important as we now need to store the frame header in the
initial buffer.
| -rw-r--r-- | src/dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3432,7 +3432,7 @@ static void dhcp_readbpf(void *arg) { struct interface *ifp = arg; - uint8_t buf[MTU_MAX]; + uint8_t buf[10240]; /* Max jumbo frame and some extra */ ssize_t bytes; struct dhcp_state *state = D_STATE(ifp); ssize_t fl = (ssize_t)bpf_frame_header_len(ifp); |
