mirror_frr/vtysh
Donald Sharp 7ab57d19ce lib, vtysh: Allow notification across multiple lines of failure
When reading in config files and we have failures on multiple
lines actually note the actual failure lines and return them.
This fixes an issue where we stopped counting errors after
the first one and we got missleading line numbers that
did not correspond to the actual problem.

This is fixed:
sharpd@donna ~/frr> sudo /usr/lib/frr/pimd --log=stdout -A 127.0.0.1 -f /etc/frr/pimd.conf
2018/10/11 09:41:01 PIM: VRF Created: default(0)
2018/10/11 09:41:01 PIM: pim_vrf_enable: for default
2018/10/11 09:41:01 PIM: zclient_lookup_sched_now: zclient lookup immediate connection scheduled
2018/10/11 09:41:01 PIM: zclient_lookup_new: zclient lookup socket initialized
2018/10/11 09:41:01 PIM: pimd 6.1-dev starting: vty@2611
2018/10/11 09:41:01 PIM: [EC 100663304] ERROR: No such command on config line 2: inteface lo
2018/10/11 09:41:01 PIM: [EC 100663304] ERROR: No such command on config line 3: ip igmp
2018/10/11 09:41:01 PIM: [EC 100663304] ERROR: No such command on config line 4: ip igmp join 224.1.1.1 13.13.13.2
^C2018/10/11 09:45:09 PIM: Terminating on signal SIGINT
2018/10/11 09:45:09 PIM: VRF Deletion: default(0)

Fixes: #3161
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-10-11 09:46:40 -04:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
extract.pl.in build: non-recursive vtysh 2018-09-08 21:26:54 +02:00
Makefile build: non-recursive vtysh 2018-09-08 21:26:54 +02:00
subdir.am build: fix not building docs w/o sphinx 2018-09-09 20:01:08 +02:00
vtysh_config.c bgpd: remove ip prefix from as-path, <large,ext>community-list 2018-10-04 21:50:44 -07:00
vtysh_main.c lib vtysh zebra: variable shadowing fixes 2018-09-12 12:27:38 +02:00
vtysh_user.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
vtysh_user.h *: reindent 2017-07-17 14:04:07 +02:00
vtysh.c lib, vtysh: Allow notification across multiple lines of failure 2018-10-11 09:46:40 -04:00
vtysh.conf.sample * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" -> 2005-01-23 19:24:46 +00:00
vtysh.h vtysh: support fabricd 2018-09-05 11:38:12 +02:00