commit | ea55500409651b0f8fd2c8a02fdbf245acc96dd8 | [log] [tgz] |
---|---|---|
author | Steve Hill <quagga@cheesy.sackheads.org> | Tue Jul 28 16:36:14 2009 -0400 |
committer | Paul Jakma <paul@quagga.net> | Fri Sep 19 22:14:54 2014 +0100 |
tree | 74f195200f595ae96363e007103e77654ace3f4d | |
parent | d4a8607d12e1d3f655055647f1633ec154685545 [diff] |
lib: Improve error reporting from broken config files * command.h: (config_from_file) Add variable to interface for line number reporting. * command.c: (config_from_file) Set & increment 'line_num' while parsing. * vty.c: (vty_read_file) Report parse errors in the correct order to stderr, with added line numbers.