Commit 6f89445a authored by Adrián López's avatar Adrián López Committed by 4ast

Typo writting BPF (#659)

parent 639498a2
......@@ -482,7 +482,7 @@ class BPF(object):
if res < 0:
err_no = ct.get_errno()
if err_no == errno.EBADMSG:
raise Exception("Internal error while attaching BFP to device,"+
raise Exception("Internal error while attaching BPF to device,"+
" try increasing the debug level!")
else:
errstr = os.strerror(err_no)
......@@ -492,7 +492,7 @@ class BPF(object):
@staticmethod
def remove_xdp(dev):
'''
This function removes any BPF function from a device on the
This function removes any BPF function from a device on the
device driver level (XDP)
'''
res = lib.bpf_attach_xdp(dev.encode("ascii"), -1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment