diff options
| author | paul <paul> | 2006-01-17 17:49:53 +0000 | 
|---|---|---|
| committer | paul <paul> | 2006-01-17 17:49:53 +0000 | 
| commit | c6371718f39dedd2a03010a9dc26a18d96abbe7f (patch) | |
| tree | d2b17403d11b3d162275bfa28711f5ee3daa6a94 /ospfd/ospf_packet.c | |
| parent | d211086aefd45e0b7c113a43ed5eb620626b8681 (diff) | |
[ospfd/zserv] adjust to new format
2006-01-17 Paul Jakma <paul.jakma@sun.com>
	* ospf_packet.c: (ospf_verify_header) print out the types
	  involved if there's a mismatch.
	* ospf_zebra.c: (ospf_zebra_add) Adjust to new zserv format.
Diffstat (limited to 'ospfd/ospf_packet.c')
| -rw-r--r-- | ospfd/ospf_packet.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 54b30ca7..d6aca719 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -2253,8 +2253,8 @@ ospf_verify_header (struct stream *ibuf, struct ospf_interface *oi,    /* Check authentication. */    if (ospf_auth_type (oi) != ntohs (ospfh->auth_type))      { -      zlog_warn ("interface %s: ospf_read authentication type mismatch.", -		 IF_NAME (oi)); +      zlog_warn ("interface %s: auth-type mismatch, local %d, rcvd %d", +		 IF_NAME (oi), ospf_auth_type (oi), ntohs (ospfh->auth_type));        return -1;      } | 
