Closed frenzis01 closed 2 years ago
Can you please solve the merge conflict? In essence, you need to rebase your repository that is no longer in sync with mine. See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork for instance
Fixes #3
Added continent support by merging countries and continents logic and structures along with proper method/variables renaming. In particular: Used the same map in
Configuration.cpp
for countries and continents as @salvogs and @JacopoRaffi did in #9 #8. Added "continents" field insample_config.json
, parsed using the same code previously used to parse "countries"; (as suggested in #7 #6 by @leomanne @RootCero) UpdatedgetMarker
(akagetCountryMarker
) inConfiguration.cpp
to look also for continents, but giving priority to countries; (same pattern used in #9 by @salvogs) UpdatedNwInterface.cpp
to search also for continents (added parameters when callinggeoip->lookup
) and to print to stdout continent codes along with IPs, ports, etc.