diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-03 14:09:28 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-03 14:19:48 +0300 |
| commit | 45c8ba8fb34aa8d24274af540c5bb6a8f4f7b857 (patch) | |
| tree | 150b97a562fa7fb50e04583d4ea65407b605e2c7 /lib/link_state.c | |
| parent | 8a0ac82d963d20f254e0e4c33c42aef95b74286d (diff) | |
zebra: Do not escape forward slashes for `show ip route json`
Basically, this is handled by JSON-C library. I've compiled with the
latest release of json-c and it works well.
Didn't test with various distribution versions, but this change is kinda
dependend from the json-c lib version the distra has.
Before:
```
"192.168.100.1\/32":[
{
"prefix":"192.168.100.1\/32",
```
After:
```
"192.168.100.1/32":[
{
"prefix":"192.168.100.1/32",
```
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/link_state.c')
0 files changed, 0 insertions, 0 deletions
