OSDN Git Service
(root)
/
openpts
/
openpts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hold SSH username and port
[openpts/openpts.git]
/
src
/
verifier.c
diff --git
a/src/verifier.c
b/src/verifier.c
index
97dc99e
..
6042371
100644
(file)
--- a/
src/verifier.c
+++ b/
src/verifier.c
@@
-1319,6
+1319,12
@@
int enroll(
/* save target conf */
+ if (ssh_username != NULL) {
+ target_conf->ssh_username = smalloc(ssh_username);
+ }
+ if (ssh_port != NULL) {
+ target_conf->ssh_port = smalloc(ssh_port);
+ }
writeTargetConf(
target_conf,
target_conf->uuid->uuid,