Skip to content

Commit 51af32e

Browse files
committed
iface: make MulticastError public.
1 parent c978b36 commit 51af32e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/iface/interface/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ mod ipv6;
1818
#[cfg(feature = "proto-igmp")]
1919
mod igmp;
2020

21+
#[cfg(feature = "proto-igmp")]
22+
pub use igmp::MulticastError;
23+
2124
use core::cmp;
2225
use core::result::Result;
2326
use heapless::{LinearMap, Vec};

src/iface/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ mod route;
1313
mod socket_meta;
1414
mod socket_set;
1515

16+
#[cfg(feature = "proto-igmp")]
17+
pub use self::interface::MulticastError;
1618
pub use self::interface::{Config, Interface, InterfaceInner as Context};
19+
1720
pub use self::route::{Route, RouteTableFull, Routes};
18-
pub use socket_set::{SocketHandle, SocketSet, SocketStorage};
21+
pub use self::socket_set::{SocketHandle, SocketSet, SocketStorage};

0 commit comments

Comments
 (0)