]> Sergey Matveev's repositories - public-inbox.git/commit
netd: load modules for well-known ports
authorEric Wong <e@80x24.org>
Wed, 20 Jul 2022 01:22:04 +0000 (01:22 +0000)
committerEric Wong <e@80x24.org>
Wed, 20 Jul 2022 03:54:29 +0000 (03:54 +0000)
commit08ac230c500560d583362c75583a8acb03c14bf0
tree42b78f3c87523c9a69816b954e28194e39d24405
parented94a9ec2375aa8c159aca7c43f23688bcb8e05d
netd: load modules for well-known ports

When inheriting well-known ports from systemd (or similar),
we can auto-load the proper *D.pm file based on the port number
without requiring command-line args.

load_mod also gets fixed to use its argument, instead of implicit
$1 since that won't work for our well-known.
lib/PublicInbox/Daemon.pm