minor change in eth_raw.c

This commit is contained in:
aikaterini.trilyraki
2015-11-26 11:08:48 +01:00
parent 8bbff142ab
commit 2ed6a5fb9e
3 changed files with 3 additions and 2 deletions
@@ -75,6 +75,7 @@ int eth_socket_init_raw(openair0_device *device) {
local_mac = device->openair0_cfg.my_addr;
local_port = device->openair0_cfg.my_port;
remote_mac = malloc(ETH_ALEN);
memset(remote_mac,0,ETH_ALEN);
remote_port = 0;
printf("[%s] local MAC addr %s remote MAC addr %s\n","RRH", local_mac,remote_mac);
} else {