ocochard / BSDRP

BSD Router Project
https://bsdrp.net
Other
177 stars 38 forks source link

set metric does not work in route-map (argument is malformed) #21

Closed thilse closed 5 years ago

thilse commented 6 years ago

It seems to be specific to bsdrp (at least version 1.90). The same command is working under freebsd 11.1 and frr 3.0.3 (build yesterday from ports).

Here the problem:

[root@router]~# vtysh

Hello, this is FRRouting (version 3.0.3). Copyright 1996-2005 Kunihiro Ishiguro, et al.

router.bsdrp.net# conf t router.bsdrp.net(config)# ip prefix-list NETZ1 seq 5 permit 192.168.0.0/20 router.bsdrp.net(config)# route-map WEG1_v4 permit 10 router.bsdrp.net(config-route-map)# match ip address prefix-list NETZ1 router.bsdrp.net(config-route-map)# set metric 50 % Argument is malformed. router.bsdrp.net(config-route-map)#

ocochard commented 6 years ago

You've right, I believe this problem came from local work-in-progress patches not cleaned before to start the build. Let me finish to tests for regression on FRR 5.0, and I will publish a new BSDRP release.

ocochard commented 5 years ago

Problem fixed since… some versions (not reproductible on 1.96).