Skip to content

Commit

Permalink
Document that VintageNet persists by default
Browse files Browse the repository at this point in the history
It was not clear from the docs and I had to read the code to be sure.
  • Loading branch information
axelson committed Nov 9, 2021
1 parent 68866ff commit 9a4582c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vintage_net.ex
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,15 @@ defmodule VintageNet do
Options:
* `:persist` - set to `false` to avoid persisting this configuration. System
restarts will revert to the previous configuration.
restarts will revert to the previous configuration. Defaults to true.
"""
@spec configure(ifname(), map(), configure_options()) :: :ok | {:error, any()}
def configure(ifname, config, options \\ []) do
Interface.configure(ifname, config, options)
end

@doc """
Deconfigure settings for a specified interface.
Deconfigure and persists (by default) settings for a specified interface.
Supports same options as `configure/3`
"""
Expand Down

0 comments on commit 9a4582c

Please sign in to comment.