summaryrefslogtreecommitdiffstats
path: root/node-admin/scripts/pyroute2/netlink/rtnl/errmsg.py
blob: 2bea8091730e678e736aa5957acfb120c3c45252 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# By Peter V. Saveliev https://pypi.python.org/pypi/pyroute2. Dual licensed under the Apache 2 and GPLv2+ see https://github.com/svinota/pyroute2 for License details.
from pyroute2.netlink import nlmsg


class errmsg(nlmsg):
    '''
    Custom message type

    Error ersatz-message
    '''
    fields = (('code', 'i'), )