Skip to content

Commit

Permalink
XMap 2.0.2 Minor Release
Browse files Browse the repository at this point in the history
XMap 2.0.1 Minor Release.
Fix Bugs #23 and #24

Co-Authored-By: xiota <[email protected]>
  • Loading branch information
idealeer and xiota committed Aug 16, 2024
1 parent 15f628c commit 86ae0fe
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
project(XMAP C)
set(XMAP_VERSION DEVELOPMENT) # Change DEVELOPMENT to version number for release

Expand Down
1 change: 1 addition & 0 deletions lib/includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
#include <sys/types.h>
#include <sys/time.h>

#ifndef __APPLE__
#include <netinet/ip6.h>
Expand Down
46 changes: 23 additions & 23 deletions src/state.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ struct state_conf xconf = {
.max_probe_port_index_len = 32,
.source_port_first = 32768, // (these are the default
.source_port_last = 61000, // ephemeral range on Linux)
.iface = NULL,
.iface = 0,
.gw_mac = {0x00},
.hw_mac = {0x00},
.gw_ip = {0x00},
.gw_mac_set = 0,
.hw_mac_set = 0,
.source_ip_addresses = NULL,
.source_ip_addresses = 0,
.number_source_ips = 0,
.send_ip_pkts = 0,
.rate = -1,
Expand All @@ -52,33 +52,33 @@ struct state_conf xconf = {
.senders = 1,
.seed_provided = 0,
.seed = 0,
.probe_module = NULL,
.probe_args = NULL,
.probe_module = 0,
.probe_args = 0,
.probe_ttl = MAXTTL,
.output_module = NULL,
.output_args = NULL,
.iid_module = NULL,
.iid_args = NULL,
.output_module = 0,
.output_args = 0,
.iid_module = 0,
.iid_args = 0,
.iid_num = 1,
.output_filename = NULL,
.blocklist_filename = NULL,
.allowlist_filename = NULL,
.list_of_ips_filename = NULL,
.output_filename = 0,
.blocklist_filename = 0,
.allowlist_filename = 0,
.list_of_ips_filename = 0,
.list_of_ip_port_count = 0,
.list_of_ip_port_index_count = 0,
.metadata_filename = NULL,
.metadata_file = NULL,
.notes = NULL,
.custom_metadata_str = NULL,
.raw_output_fields = NULL,
.output_fields = NULL,
.output_filter_str = NULL,
.metadata_filename = 0,
.metadata_file = 0,
.notes = 0,
.custom_metadata_str = 0,
.raw_output_fields = 0,
.output_fields = 0,
.output_filter_str = 0,
.output_fields_len = 0,
.log_level = XLOG_INFO,
.syslog = 0,
.log_file = NULL,
.log_directory = NULL,
.status_updates_file = NULL,
.log_file = 0,
.log_directory = 0,
.status_updates_file = 0,
.dryrun = 0,
.quiet = 0,
.filter_duplicates = 0,
Expand All @@ -87,7 +87,7 @@ struct state_conf xconf = {
.recv_ready = 0,
.min_hitrate = (float) 0.0,
.data_link_size = 0,
.config_filename = NULL,
.config_filename = 0,
};

// global sender stats and defaults
Expand Down

0 comments on commit 86ae0fe

Please sign in to comment.