summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/fortios.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-06-11 23:26:00 +0300
committerSaku Ytti <saku@ytti.fi>2014-06-11 23:26:00 +0300
commit8ece44ee0830fcd37bb945ad3604a09cfb7d3329 (patch)
tree07ca38ece508575d8cd2be68a854e1351080ce49 /lib/oxidized/model/fortios.rb
parent96dfa21e6f0bdc5d55d15fa5f7268982006d1f0c (diff)
Fix dynamic loading match
We can't use #match, if IOSXR is seen in source list before IOS, then IOS will #match on IOSXR class and wrong model is used for IOS devices. And obviously stupid to use regexp if you don't atbsolutely have to.
Diffstat (limited to 'lib/oxidized/model/fortios.rb')
0 files changed, 0 insertions, 0 deletions