]> git.puffer.fish Git - mirror/frr.git/commit
tools: frr-reload.py ignore multiple whitespaces
authorDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 10 Nov 2017 17:19:08 +0000 (17:19 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 10 Nov 2017 17:19:08 +0000 (17:19 +0000)
commit89cca49b3a1acc08273d46070eb28d245451455a
tree13d8973f31543e0bada3221b2118a231705f207c
parent1757d7169394efd65f878e86510e02d57dd5c9ca
tools: frr-reload.py ignore multiple whitespaces

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Without this fix frr-reload would do a del/add even if the only
difference were bogus whitespaces.

root@cel-redxp-10[nclu]# /usr/lib/frr/frr-reload.py --test
/etc/frr/frr.conf

Lines To Delete
===============

router bgp 100
 no bgp router-id 1.1.1.1

Lines To Add
============

router bgp 100
 bgp   router-id 1.1.1.1
root@cel-redxp-10[nclu]#
tools/frr-reload.py