Age | Commit message (Collapse) | Author |
|
The code previously prevented the user from assigning the all-zeros or
the all-ones IPv6 host addresses on a subnet. These addresses are not
illegal in IPv6. This commit removes that restriction, and adds
checks for some IPv6 addresses that are illegal to be assigned to an
interface.
|
|
* "--path" option was using config dir directly.
* remove "--path" since it is unused.
|
|
No longer need sudo on ip because of cap_net_admin
|
|
Used to skip the existing interface name when doing mirror/redirect
|
|
|
|
|
|
Many virtual devices don't implement speed/duplex, so just ignore
any errors.
|
|
This fixes perlcritic warning because of using 2 arg open.
The other form puts pipe as method.
|
|
If device is ppp but not in Vyatta config, the configuration
path will be undefined. So have script give reasonable error
rather than perl undefined variable message.
|
|
Some devices might not report ethtool settings, but still
allow ethtool configuration of speed/duplex.
Bug 5466
|
|
die prints to standard error, so any interface failures show up
in error file during boot, rather than being lost in trace messages.
|
|
Bug 5331
|
|
If device doesn't support speed/duplex, then speed = auto which
is default is okay.
|
|
|
|
Bug 4994
If hardware does not have ethtool interface to allow setting speed/duplex,
then do not allow user to commit change.
|
|
All the other interface types are in vyatta-cfg-system, only
loopback and ethernet were in vyatta-cfg
|