From nobody Wed Nov 22 17:04:51 2023 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sb70D3rv2z52KdR for ; Wed, 22 Nov 2023 17:05:00 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb70C3rG5z3Nsd for ; Wed, 22 Nov 2023 17:04:59 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=karels.net header.s=mail2 header.b=N8pGLpUD; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 3.19.118.201 as permitted sender) smtp.mailfrom=mike@karels.net; dmarc=none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AMH4qn1084095; Wed, 22 Nov 2023 11:04:52 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700672692; bh=WDzzfbB8yDyIFskWYys9cALVMr/kTrddjGEQJMusKnQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=N8pGLpUDCuCwo7/Um+cQfFRPqC3T5/wCALtZIE6PyVOcSVC1M+noXmIrUFeGlUoeb 1bdajU1JqID9hl+wTK1Woc6bX2OlQlyJoYupUNJFHNAsHmgn68kH96zwS3mRbhGERr iorpT/U/X95gcMxUdrA1kA/ppkYdiyiHKwuepJd8uUvQ+ShtlRZNCftplNlfgrV0v1 qkuJEdwIWrRXtqUyObrQkAEeGr3jBm7sojMxBD5E7NLqzf1EVXc5erES8qwveatnOj XfmtkqljOj1sZ7B+PmojNG6MlDclUyiNbStm02nqFQAxpueLtJ7qDYpWVKneVkgqGI nE+w3l9Eeiu8A== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id yK0mJLQ0XmV9SAEAs/W3XQ (envelope-from ); Wed, 22 Nov 2023 11:04:52 -0600 From: Mike Karels To: FreeBSD Net Cc: freebsd@igalic.co Subject: Re: How to tell if a network interface was renamed (and from what) Date: Wed, 22 Nov 2023 11:04:51 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: <25B7F228-1E02-4B06-A0B4-626EB7679ABC@karels.net> In-Reply-To: <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <202311220135.3AM1Z8ED054659@donotpassgo.dyslexicfish.net> <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Result: default: False [-3.48 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; R_SPF_ALLOW(-0.20)[+ip4:3.19.118.201]; R_DKIM_ALLOW(-0.20)[karels.net:s=mail2]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[karels.net:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[mike]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[karels.net]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Sb70C3rG5z3Nsd X-Spamd-Bar: --- On 21 Nov 2023, at 19:57, Mike Karels wrote: > ... My newer code prints "drivername: igb1" at the end of > the list of values for "ifconfig $interface-name" or "ifconfig -a" > if the -D option is given. I decided that it was better to be able > to get all the translations at once (for humans, anyway). > See https://reviews.freebsd.org/D42721 for the ifconfig change. Mike