diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-08-05 21:38:30 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-08-07 14:58:20 +0200 |
| commit | 59cb1531c91386cec8d7b209630b6b4d9eb7fd7c (patch) | |
| tree | 9d5268c5fc9ea6014a69313eeff268b5d3aed256 /examples/std/src/bin/net_ppp.rs | |
| parent | 21edbd3c17837f9a3f196fe1bdda4a065805d12f (diff) | |
examples: ensure at least 3 sockets to avoid running out (DHCP, DNS, the user's)
Diffstat (limited to 'examples/std/src/bin/net_ppp.rs')
| -rw-r--r-- | examples/std/src/bin/net_ppp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/std/src/bin/net_ppp.rs b/examples/std/src/bin/net_ppp.rs index 9ec0ea91f..c5c27c4a3 100644 --- a/examples/std/src/bin/net_ppp.rs +++ b/examples/std/src/bin/net_ppp.rs | |||
| @@ -102,7 +102,7 @@ async fn main_task(spawner: Spawner) { | |||
| 102 | let stack = &*STACK.init(Stack::new( | 102 | let stack = &*STACK.init(Stack::new( |
| 103 | device, | 103 | device, |
| 104 | Config::default(), // don't configure IP yet | 104 | Config::default(), // don't configure IP yet |
| 105 | RESOURCES.init(StackResources::<3>::new()), | 105 | RESOURCES.init(StackResources::new()), |
| 106 | seed, | 106 | seed, |
| 107 | )); | 107 | )); |
| 108 | 108 | ||
