| 286 | |
| 287 | |
| 288 | void PeerInterface::sendNeighborParamsRequest(const struct sockaddr_in* peer) |
| 289 | { |
| 290 | sendMessage(peer,"REQ NEIGHBOR_PARAMS"); |
| 291 | // Get a string for the sockaddr_in. |
| 292 | char addrString[256]; |
| 293 | const char *ret = inet_ntop(AF_INET,&(peer->sin_addr),addrString,255); |
| 294 | if (!ret) { |
| 295 | LOG(ALERT) << "cannot parse peer socket address"; |
| 296 | return; |
| 297 | } |
| 298 | LOG(DEBUG) << "requested parameters from " << addrString << ":" << ntohs(peer->sin_port); |
| 299 | } |
| 300 | |
| 301 | |
| 302 | // (pat) This is BS2 which has received a request from BS1 to transfer the MS from BS1 to BS2. |