File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ impl Interface {
338
338
/// This function panics if any of the addresses are not unicast.
339
339
pub fn update_ip_addrs < F : FnOnce ( & mut Vec < IpCidr , IFACE_MAX_ADDR_COUNT > ) > ( & mut self , f : F ) {
340
340
f ( & mut self . inner . ip_addrs ) ;
341
- InterfaceInner :: flush_cache ( & mut self . inner ) ;
341
+ InterfaceInner :: flush_neighbor_cache ( & mut self . inner ) ;
342
342
InterfaceInner :: check_ip_addrs ( & self . inner . ip_addrs )
343
343
}
344
344
@@ -1047,7 +1047,7 @@ impl InterfaceInner {
1047
1047
Err ( DispatchError :: NeighborPending )
1048
1048
}
1049
1049
1050
- fn flush_cache ( & mut self ) {
1050
+ fn flush_neighbor_cache ( & mut self ) {
1051
1051
#[ cfg( any( feature = "medium-ethernet" , feature = "medium-ieee802154" ) ) ]
1052
1052
self . neighbor_cache . flush ( )
1053
1053
}
You can’t perform that action at this time.
0 commit comments