diff options
Diffstat (limited to 'pysnmp/carrier')
-rw-r--r-- | pysnmp/carrier/asyncore/dgram/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/carrier/asyncore/dgram/base.py b/pysnmp/carrier/asyncore/dgram/base.py index 7f9578e0..537a281d 100644 --- a/pysnmp/carrier/asyncore/dgram/base.py +++ b/pysnmp/carrier/asyncore/dgram/base.py @@ -38,7 +38,7 @@ class DgramSocketTransport(AbstractSocketTransport): raise error.CarrierError('bind() for %s failed: %s' % (iface is None and "<all local>" or iface, sys.exc_info()[1])) return self - def openServerMode(self, iface): + def openServerMode(self, iface=None): try: self.socket.bind(iface) except socket.error: |