|
@@ -80,8 +80,7 @@ add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6,
|
80
|
80
|
memset ( ndp->ll_addr, 0, netdev->ll_protocol->ll_addr_len );
|
81
|
81
|
}
|
82
|
82
|
ndp->state = state;
|
83
|
|
- DBG ( "New neighbour cache entry (%d): IP6 %s => %s %s\n",
|
84
|
|
- ( ndp - ndp_table ),
|
|
83
|
+ DBG ( "New neighbour cache entry: IP6 %s => %s %s\n",
|
85
|
84
|
inet6_ntoa ( ndp->in6 ), netdev->ll_protocol->name,
|
86
|
85
|
netdev->ll_protocol->ntoa ( ndp->ll_addr ) );
|
87
|
86
|
}
|
|
@@ -118,8 +117,7 @@ int ndp_resolve ( struct net_device *netdev, struct in6_addr *dest,
|
118
|
117
|
|
119
|
118
|
/* Check if the entry was already created */
|
120
|
119
|
if ( ndp ) {
|
121
|
|
- DBG ( "Awaiting neighbour advertisement (cache entry %d)\n",
|
122
|
|
- ( ndp - ndp_table ) );
|
|
120
|
+ DBG ( "Awaiting neighbour advertisement\n" );
|
123
|
121
|
/* For test */
|
124
|
122
|
// ndp->state = NDP_STATE_REACHABLE;
|
125
|
123
|
// memcpy ( ndp->ll_addr, netdev->ll_addr, 6 );
|