diff options
Diffstat (limited to 'src/tools/vppapigen')
-rwxr-xr-x | src/tools/vppapigen/vppapigen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/vppapigen/vppapigen.py b/src/tools/vppapigen/vppapigen.py index 57a30fd3c29..7a7b68737ba 100755 --- a/src/tools/vppapigen/vppapigen.py +++ b/src/tools/vppapigen/vppapigen.py @@ -769,7 +769,7 @@ class VPPAPI(object): if o.autoreply: s[tname].append(self.autoreply_block(o.name)) elif isinstance(o, Option): - s[tname][o[1]] = o[2] + s[tname][o.option] = o.value elif type(o) is list: for o2 in o: if isinstance(o2, Service): |