ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/connection.C
(Generate patch)

Comparing gvpe/src/connection.C (file contents):
Revision 1.75 by pcg, Sun Aug 10 15:04:55 2008 UTC vs.
Revision 1.77 by pcg, Mon Aug 11 16:37:47 2008 UTC

1143 iseqno.reset (ntohl (*(u32 *)&chg[CHG_SEQNO]) & 0x7fffffff); // at least 2**31 sequence numbers are valid 1143 iseqno.reset (ntohl (*(u32 *)&chg[CHG_SEQNO]) & 0x7fffffff); // at least 2**31 sequence numbers are valid
1144 1144
1145 si = rsi; 1145 si = rsi;
1146 protocol = rsi.prot; 1146 protocol = rsi.prot;
1147 1147
1148 slog (L_INFO, _("%s(%s): connection established, protocol version %d.%d."), 1148 slog (L_INFO, _("%s(%s): connection established (%s), protocol version %d.%d."),
1149 conf->nodename, (const char *)rsi, 1149 conf->nodename, (const char *)rsi,
1150 is_direct ? "direct" : "routed",
1150 p->prot_major, p->prot_minor); 1151 p->prot_major, p->prot_minor);
1151 1152
1152 connection_established (); 1153 connection_established ();
1153 1154
1154 if (::conf.script_node_up) 1155 if (::conf.script_node_up)
1204 // fast re-sync on source address changes, useful especially for tcp/ip 1205 // fast re-sync on source address changes, useful especially for tcp/ip
1205 //if (last_si_change < ev_now () + 5.) 1206 //if (last_si_change < ev_now () + 5.)
1206 // { 1207 // {
1207 si = rsi; 1208 si = rsi;
1208 1209
1209 slog (L_INFO, _("%s(%s): socket address changed to %s."), 1210 slog (L_INFO, _("%s(%s): socket address changed."),
1210 conf->nodename, (const char *)si, (const char *)rsi); 1211 conf->nodename, (const char *)si);
1211 // } 1212 // }
1212 //else 1213 //else
1213 // slog (L_INFO, _("%s(%s): accepted packet from %s, not (yet) redirecting traffic."), 1214 // slog (L_INFO, _("%s(%s): accepted packet from %s, not (yet) redirecting traffic."),
1214 // conf->nodename, (const char *)si, (const char *)rsi); 1215 // conf->nodename, (const char *)si, (const char *)rsi);
1215 } 1216 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines