Revision 9b63e3a5 proto/rip/rip.c

View differences:

proto/rip/rip.c
31 31
 * from two concurrent sends to one destination. Each &rip_interface has
32 32
 * at most one &rip_connection.
33 33
 *
34
 * We are not going to honour requests for sending part of
34
 * We are not going to honor requests for sending part of
35 35
 * routing table. That would need to turn split horizon off,
36 36
 * etc.  
37 37
 *
......
332 332

  
333 333
  switch( packet->heading.command ) {
334 334
  case RIPCMD_REQUEST: DBG( "Asked to send my routing table\n" ); 
335
	  if (P_CF->honour == HO_NEVER) {
335
	  if (P_CF->honor == HO_NEVER) {
336 336
	    log( L_REMOTE "They asked me to send routing table, but I was told not to do it" );
337 337
	    return 0;
338 338
	  }
339
	  if ((P_CF->honour == HO_NEIGHBOUR) && (!neigh_find( p, &whotoldme, 0 ))) {
340
	    log( L_REMOTE "They asked me to send routing table, but he is not my neighbour" );
339
	  if ((P_CF->honor == HO_NEIGHBOR) && (!neigh_find( p, &whotoldme, 0 ))) {
340
	    log( L_REMOTE "They asked me to send routing table, but he is not my neighbor" );
341 341
	    return 0;
342 342
	  }
343 343
    	  rip_sendto( p, whotoldme, port, HEAD(P->interfaces) ); /* no broadcast */
......
353 353
	  }
354 354

  
355 355
	  if (!neigh_find( p, &whotoldme, 0 )) {
356
	    log( L_REMOTE "%I send me routing info but he is not my neighbour", whotoldme );
356
	    log( L_REMOTE "%I send me routing info but he is not my neighbor", whotoldme );
357 357
#if 0
358 358
	    return 0;
359 359
#else

Also available in: Unified diff