Page MenuHomeVyOS Platform

multicast: static multicast routing throws TypeError
Closed, ResolvedPublicBUG

Description

To reproduce use:

set protocols static multicast route 192.168.0.0/16 next-hop 1.2.3    
commit

Throws:

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/protocols_static_multicast.py", line 130, in                                                                                                                                                                                                                                              <module>
    verify(c)
  File "/usr/libexec/vyos/conf_mode/protocols_static_multicast.py", line 92, in                                                                                                                                                                                                                                              verify
    raise ConfigError(route + " not a multicast network")
                      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can only concatenate list (not "str") to list

Details

Version
1.4.0
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)