mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
netdump: Fix boot-time configuration typo
Boot-time netdump configuration is much more useful if one can configure the client and gateway addresses. Fix trivial typo. (Long-standing bug, I believe it dates to the original netdump commit.) Spotted by: one of vangyzen@ or markj@ Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
5098ed5f3b
commit
070e7bf95e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347471
@ -1394,11 +1394,11 @@ netdump_modevent(module_t mod __unused, int what, void *priv __unused)
|
||||
freeenv(arg);
|
||||
}
|
||||
if ((arg = kern_getenv("net.dump.client")) != NULL) {
|
||||
inet_aton(arg, &conf.kda_server.in4);
|
||||
inet_aton(arg, &conf.kda_client.in4);
|
||||
freeenv(arg);
|
||||
}
|
||||
if ((arg = kern_getenv("net.dump.gateway")) != NULL) {
|
||||
inet_aton(arg, &conf.kda_server.in4);
|
||||
inet_aton(arg, &conf.kda_gateway.in4);
|
||||
freeenv(arg);
|
||||
}
|
||||
conf.kda_af = AF_INET;
|
||||
|
Loading…
Reference in New Issue
Block a user