| 4209 | |
| 4210 | |
| 4211 | static int process_hello(netinfo_type *netinfo_ptr, |
| 4212 | host_node_type *host_node_ptr) |
| 4213 | { |
| 4214 | int rc = process_hello_common(netinfo_ptr, host_node_ptr, 1); |
| 4215 | if (rc == 1) { |
| 4216 | logmsg(LOGMSG_ERROR, "rejected hello from %s\n", host_node_ptr->host); |
| 4217 | } |
| 4218 | if (rc == 0) { |
| 4219 | write_hello_reply(netinfo_ptr, host_node_ptr); |
| 4220 | } else if (rc != -1) { |
| 4221 | /* Only propogate IO errors backwards. */ |
| 4222 | rc = 0; |
| 4223 | } |
| 4224 | return rc; |
| 4225 | } |
| 4226 | |
| 4227 | |
| 4228 | static int process_hello_reply(netinfo_type *netinfo_ptr, |
no test coverage detected