Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
6656841a
Commit
6656841a
authored
Oct 08, 2004
by
Timothy Stack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some syntax errors in the new TFTP code.
parent
7f567448
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tbsetup/snmpit_cisco.pm
tbsetup/snmpit_cisco.pm
+3
-3
No files found.
tbsetup/snmpit_cisco.pm
View file @
6656841a
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# Copyright (c) 2000-200
4
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -1492,12 +1492,12 @@ sub writeConfigTFTP($$$) {
# Start off by resolving the server's name into an IP address
#
my
$ip
=
inet_aton
(
$server
);
if
(
!
@
ip
)
{
if
(
!
$
ip
)
{
warn
"
Unable to lookup hostname
$server
\n
";
return
0
;
}
$ipstr
=
join
("
.
",
unpack
('
C4
',
$ip
));
my
$ipstr
=
join
("
.
",
unpack
('
C4
',
$ip
));
#
# Set up a few values on the switch to tell it where to stick the config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment