Skip to content

Commit 236a82c

Browse files
authored
Fix recent napt cfg id (ivmarkov#107)
was a typo
1 parent 626a442 commit 236a82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ fn ping(ip_settings: &ipv4::ClientSettings) -> Result<()> {
14151415
}
14161416

14171417
#[cfg(not(feature = "qemu"))]
1418-
#[cfg(esp_idf_lwip_ipv4_)]
1418+
#[cfg(esp_idf_lwip_ipv4_napt)]
14191419
fn enable_napt(wifi: &mut EspWifi) -> Result<()> {
14201420
wifi.with_router_netif_mut(|netif| netif.unwrap().enable_napt(true));
14211421

0 commit comments

Comments
 (0)