ambrevar/shell: Remove spurious second value from ipv4.
parent
ab9717074a
commit
b9c95f0a8a
|
@ -386,7 +386,7 @@ different Btrfs subvolumes."
|
|||
|
||||
(defun ipv4 (interface)
|
||||
(when (string= "inet" (first (third interface)))
|
||||
(ppcre:regex-replace "/.*" (second (third interface)) "")))
|
||||
(values (ppcre:regex-replace "/.*" (second (third interface)) ""))))
|
||||
|
||||
;; TODO: Make class for interfaces? Can iolib / usocket be helpful here?
|
||||
(defun interfaces (&optional interface)
|
||||
|
|
Loading…
Reference in New Issue