Skip to content

Commit

Permalink
Merge pull request #3162 from as8net/patch-1
Browse files Browse the repository at this point in the history
models/dlink.rb Add privileged mode (enable)
  • Loading branch information
robertcheramy committed May 16, 2024
2 parents 6d1dda0 + 35aebec commit 89f10f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- eos: Hide radius and snmp secrets for Arista EOS (@iriseden)
- docker/podman: baseimage updated to phusion/baseimage:jammy-1.0.4
- fortios: Hide date in acme certifcate comments (@systeembeheerder)
- dlink: added support for 'enable admin' before getting configuration, if enable=true (@as8net)

### Fixed
- fixed prompt for vyos/vyatta to allow logins with non-priviliged accounts. Fixes #3111 (@h-lopez)
Expand Down
1 change: 1 addition & 0 deletions lib/oxidized/model/dlink.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class Dlink < Oxidized::Model

cfg :telnet, :ssh do
post_login 'disable clipaging'
post_login 'enable admin' if vars(:enable) == true
pre_logout 'logout'
end
end

0 comments on commit 89f10f7

Please sign in to comment.