make fill method public #273

Closes: #274
Approved by: dlrobertson
This commit is contained in:
Derk Bell 2019-02-01 14:50:08 +01:00 committed by Homu
parent 2477355516
commit a1d3b94f7b
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ impl<'a> Cache<'a> {
Cache { storage, gc_threshold, silent_until: Instant::from_millis(0) }
}
pub(crate) fn fill(&mut self, protocol_addr: IpAddress, hardware_addr: EthernetAddress,
pub fn fill(&mut self, protocol_addr: IpAddress, hardware_addr: EthernetAddress,
timestamp: Instant) {
debug_assert!(protocol_addr.is_unicast());
debug_assert!(hardware_addr.is_unicast());