Skip to content

Commit

Permalink
nmport: add missing default key for share option
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppelettieri committed Aug 5, 2020
1 parent 7bb5e90 commit a1fb6f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libnetmap/nmport.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ nmport_opt_##o##_key_##k##_ctor(void) \
#define nmport_defkey(p, o) ((p)->keys[NPOPT_DESC(o).default_key])

NPOPT_DECL(share, 0)
NPKEY_DECL(share, port, NMREQ_OPTK_DEFAULT|NMREQ_OPTK_MUSTSET)
NPOPT_DECL(extmem, 0)
NPKEY_DECL(extmem, file, NMREQ_OPTK_DEFAULT|NMREQ_OPTK_MUSTSET)
NPKEY_DECL(extmem, if_num, 0)
Expand Down

0 comments on commit a1fb6f6

Please sign in to comment.