Skip to content

Commit

Permalink
fix(examples): fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Apr 11, 2024
1 parent 4abcff0 commit 49bf040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/netlink/ip-addr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if not ok then
end

local res, err = addr.get(ifname)
if not ok then
if not res then
print('get fail:', err)
return
end
Expand Down

0 comments on commit 49bf040

Please sign in to comment.