Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #38 from guerby/master
Browse files Browse the repository at this point in the history
fix config6.max_rules init
  • Loading branch information
baloo authored Jun 6, 2017
2 parents 3eb62b8 + ca50889 commit 0d23c3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,7 @@ setup_lpm(int socketid)
/* create the LPM6 table */
snprintf(s, sizeof(s), "IPV6_L3FWD_LPM_%d", socketid);

config6.max_rules = IPV6_L3FWD_LPM_MAX_RULES;
config6.number_tbl8s = IPV6_L3FWD_LPM_NUMBER_TBL8S;
config6.flags = 0;
ipv6_pktj_lookup_struct[socketid] =
Expand Down

0 comments on commit 0d23c3f

Please sign in to comment.