Skip to content

Commit

Permalink
bump version to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemeowx2 committed Jan 18, 2019
1 parent 98e5577 commit eda2c4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -4,7 +4,7 @@ execute_process(COMMAND git describe --tags
OUTPUT_STRIP_TRAILING_WHITESPACE)

if (LANPLAY_VERSION STREQUAL "")
set(LANPLAY_VERSION v0.0.7)
set(LANPLAY_VERSION v0.1.0)
MESSAGE("git describe --tags output is empty, set version to ${LANPLAY_VERSION}")
endif()

Expand Down
6 changes: 6 additions & 0 deletions src/ipv4/ipv4.c
Expand Up @@ -99,6 +99,12 @@ int process_ipv4(struct packet_ctx *arg, const struct ether_frame *ether)
} else if (IS_SUBNET(ipv4.dst, arg->subnet_net, arg->subnet_mask)) {
if (IS_BROADCAST(ipv4.dst, arg->subnet_net, arg->subnet_mask)) {
lan_client_send_ipv4(arg->arg, ipv4.dst, ipv4.ether->payload, ipv4.total_len);

struct payload part;
part.ptr = ipv4.ether->payload;
part.len = ipv4.total_len;
part.next = NULL;
return send_ether(arg, ether->src, ETHER_TYPE_IPV4, &part);
} else if (arp_has_ip(arg, ipv4.dst)) {
uint8_t dst_mac[6];
struct payload part;
Expand Down

0 comments on commit eda2c4d

Please sign in to comment.