@@ -436,7 +436,7 @@ open_tun_dco(struct tuntap *tt, openvpn_net_ctx_t *ctx, const char *dev)
tt->actual_name = string_alloc(dev, NULL);
uint8_t *dcobuf = malloc(65536);
buf_set_write(&tt->dco.dco_packet_in, dcobuf, 65536);
- tt->dco.dco_meesage_peer_id = -1;
+ tt->dco.dco_message_peer_id = -1;
ovpn_dco_register(&tt->dco);
@@ -742,7 +742,7 @@ static int ovpn_handle_msg(struct nl_msg *msg, void *arg)
msg(D_DCO_DEBUG, "ovpn-dco: received CMD_DEL_PEER, ifindex: %d, peer-id %d, reason: %d",
ifindex, peerid, reason);
- dco->dco_meesage_peer_id = peerid;
+ dco->dco_message_peer_id = peerid;
dco->dco_del_peer_reason = reason;
dco->dco_message_type = OVPN_CMD_DEL_PEER;
@@ -788,7 +788,7 @@ static int ovpn_handle_msg(struct nl_msg *msg, void *arg)
}
buf_init(&dco->dco_packet_in, 0);
buf_write(&dco->dco_packet_in, data, len);
- dco->dco_meesage_peer_id = peerid;
+ dco->dco_message_peer_id = peerid;
dco->dco_message_type = OVPN_CMD_PACKET;
break;
}
@@ -51,7 +51,7 @@ typedef struct
struct buffer dco_packet_in;
int dco_message_type;
- int dco_meesage_peer_id;
+ int dco_message_peer_id;
int dco_del_peer_reason;
} dco_context_t;
@@ -3124,7 +3124,7 @@ static void
process_incoming_dco_packet(struct multi_context *m, struct multi_instance *mi, dco_context_t *dco)
{
struct buffer orig_buf = mi->context.c2.buf;
- int peer_id = dco->dco_meesage_peer_id;
+ int peer_id = dco->dco_message_peer_id;
mi->context.c2.buf = dco->dco_packet_in;
@@ -3184,7 +3184,7 @@ multi_process_incoming_dco(struct multi_context *m)
int ret = dco_do_read(&m->top.c1.tuntap->dco);
- int peer_id = dco->dco_meesage_peer_id;
+ int peer_id = dco->dco_message_peer_id;
if ((peer_id >= 0) && (peer_id < m->max_clients) && (m->instances[peer_id]))
{
@@ -3204,7 +3204,7 @@ multi_process_incoming_dco(struct multi_context *m)
}
dco->dco_message_type = 0;
- dco->dco_meesage_peer_id = -1;
+ dco->dco_message_peer_id = -1;
return ret > 0;
}
#endif