Skip to content

Commit

Permalink
Fix LOOKUP-INTERFACE
Browse files Browse the repository at this point in the history
  • Loading branch information
sionescu committed Apr 16, 2012
1 parent dccb292 commit 7092327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sockets/iface.lisp
Expand Up @@ -63,6 +63,6 @@
signalled if an interface is not found." signalled if an interface is not found."
(check-type interface (or unsigned-byte string symbol) "non-negative integer, a string or a symbol") (check-type interface (or unsigned-byte string symbol) "non-negative integer, a string or a symbol")
(let ((parsed (ensure-string-or-unsigned-byte interface :errorp t))) (let ((parsed (ensure-string-or-unsigned-byte interface :errorp t)))
(typecase interface (typecase parsed
(unsigned-byte (get-interface-by-index parsed)) (unsigned-byte (get-interface-by-index parsed))
(string (get-interface-by-name parsed))))) (string (get-interface-by-name parsed)))))

0 comments on commit 7092327

Please sign in to comment.