You're seeing just the function drop, go back to Iptrie module for more information.


drop(t(), [prefix()]) :: t()

Drops given prefixes from trie using an exact match.

If a given prefix does not exist in trie it is ignored.


# drop 2 existing prefixes and ignore the third
iex> t = new([{"", 1}, {"", 2}, {"11-22-33-00-00-00/24", 3}])
iex> t2 = drop(t, ["", "11-22-33-00-00-00/24", ""])
iex> for pfx <- keys(t2), do: "#{pfx}"