Hi,

nevermind - disregard this, it was pebcak afterall.

Am Dienstag, dem 17.05.2022 um 12:22 +0200 schrieb Georg Bege:
> Hi guys,
> 
> I noticed a strange issue which ocurred on one of my machines which
> always worked prior migration to OpenBSD 7.1.
> 
> I have a couple of perl script which are basically just sending small
> stuff via UDP on the LAN.
> For socket creation Im using IO::Socket::INET, normally I can always
> give a host as PeerAddr argument - this no longer works.
> 
> I get "Invalid argument", not sure what's wrong - the IP works - so
> its
> about resolving?
> But the host resolves normally with userland utils and I didn't
> change
> it.
> 
> Im on OpenBSD/octeon for this, but I guess this shouldn't be all to
> important for this.
> The script(s) are very trivial, basically the line which causes the
> issue goes like:
> 
>         my $sock = IO::Socket::INET->new(
>                 Proto => 'udp',
>                 PeerPort => 1122,
>                 PeerAddr => $host,
>         ) or die "Could not create socket: $!\n";
> 
> 
> The same script works on other machines, like a local Linux with perl
> 5.34.1
> I dont think this is explicitly about perl or that they changed the
> behaviour that is not longer possible to give hostnames as PeerAddr.
> 
> regards,
> Georg
> 

Reply via email to