Skip to content

Commit 59b6c0c

Browse files
Ole Troanayourtch
authored andcommitted
vppapigen: fix options representation
Type: fix Signed-off-by: Ole Troan <[email protected]> Change-Id: Ief77110160120ea0e1291cc79949a73404cdbfda
1 parent 13ff90f commit 59b6c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/vppapigen/vppapigen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def process(self, objs):
769769
if o.autoreply:
770770
s[tname].append(self.autoreply_block(o.name))
771771
elif isinstance(o, Option):
772-
s[tname][o[1]] = o[2]
772+
s[tname][o.option] = o.value
773773
elif type(o) is list:
774774
for o2 in o:
775775
if isinstance(o2, Service):

0 commit comments

Comments
 (0)