Revision 1d2664a4 nest/cli.c

View differences:

nest/cli.c
6 6
 *	Can be freely distributed and used under the terms of the GNU GPL.
7 7
 */
8 8

  
9
#include <string.h>
10

  
9 11
#include "nest/bird.h"
10 12
#include "nest/cli.h"
11 13
#include "conf/conf.h"
......
119 121
  struct config f;
120 122
  int res;
121 123

  
122
  f.pool = NULL;
124
  bzero(&f, sizeof(f));
123 125
  f.mem = c->parser_pool;
124 126
  cf_read_hook = cli_cmd_read_hook;
125 127
  cli_rh_pos = c->rx_buf;

Also available in: Unified diff