Project

General

Profile

Download (16.7 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/* $Id$ */
3
/*
4
	status_interfaces.php
5
	part of pfSense
6
	Copyright (C) 2009 Scott Ullrich <sullrich@gmail.com>.
7
	Copyright (C) 2013-2015 Electric Sheep Fencing, LP
8
	All rights reserved.
9

    
10
	originally part of m0n0wall (http://m0n0.ch/wall)
11
	Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
12
	All rights reserved.
13

    
14
	Redistribution and use in source and binary forms, with or without
15
	modification, are permitted provided that the following conditions are met:
16

    
17
	1. Redistributions of source code must retain the above copyright notice,
18
	   this list of conditions and the following disclaimer.
19

    
20
	2. Redistributions in binary form must reproduce the above copyright
21
	   notice, this list of conditions and the following disclaimer in the
22
	   documentation and/or other materials provided with the distribution.
23

    
24
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
25
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
26
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27
	AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
28
	OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29
	SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30
	INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31
	CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33
	POSSIBILITY OF SUCH DAMAGE.
34
*/
35
/*
36
	pfSense_MODULE:	interfaces
37
*/
38

    
39
##|+PRIV
40
##|*IDENT=page-status-interfaces
41
##|*NAME=Status: Interfaces page
42
##|*DESCR=Allow access to the 'Status: Interfaces' page.
43
##|*MATCH=status_interfaces.php*
44
##|-PRIV
45

    
46
require_once("guiconfig.inc");
47
require_once("shaper.inc");
48
require_once("filter.inc");
49

    
50
if ($_POST['if'] && $_POST['submit']) {
51
	$interface = $_POST['if'];
52
	if ($_POST['status'] == "up") {
53
		interface_bring_down($interface);
54
	} else {
55
		interface_configure($interface);
56
	}
57
	header("Location: status_interfaces.php");
58
	exit;
59
}
60

    
61
$pgtitle = array(gettext("Status"), gettext("Interfaces"));
62
$shortcut_section = "interfaces";
63
include("head.inc");
64

    
65
?>
66

    
67
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
68
<?php include("fbegin.inc"); ?>
69
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="status interfaces">
70
<?php
71
	$i = 0;
72
	$ifdescrs = get_configured_interface_with_descr(false, true);
73
	foreach ($ifdescrs as $ifdescr => $ifname):
74
		$ifinfo = get_interface_info($ifdescr);
75
		// Load MAC-Manufacturer table
76
		$mac_man = load_mac_manufacturer_table();
77
?>
78
<?php
79
		if ($i):
80
?>
81
	<tr>
82
		<td colspan="8" class="list" height="12"></td>
83
	</tr>
84
<?php
85
		endif;
86
?>
87
	<tr>
88
		<td colspan="2" class="listtopic">
89
			<?=htmlspecialchars($ifname);?> <?=gettext("interface"); ?> (<?=htmlspecialchars($ifdescr);?>, <?=htmlspecialchars($ifinfo['hwif']);?>)
90
		</td>
91
	</tr>
92
	<tr>
93
		<td width="22%" class="vncellt"><?=gettext("Status"); ?></td>
94
		<td width="78%" class="listr">
95
			<?=htmlspecialchars($ifinfo['status']);?>
96
		</td>
97
	</tr>
98
<?php
99
		if ($ifinfo['dhcplink']):
100
?>
101
	<tr>
102
		<td width="22%" class="vncellt">
103
			DHCP
104
		</td>
105
		<td width="78%" class="listr">
106
			<form name="dhcplink_form" action="status_interfaces.php" method="post">
107
				<input type="hidden" name="if" value="<?php echo $ifdescr; ?>" />
108
				<input type="hidden" name="status" value="<?php echo $ifinfo['dhcplink']; ?>" />
109
				<?=htmlspecialchars($ifinfo['dhcplink']);?>&nbsp;&nbsp;
110
				<?php $action = ($ifinfo['dhcplink'] == "up" ? gettext("Release") : gettext("Renew")); ?>
111
				<input type="submit" name="submit" class="formbtn" value="<?php echo $action; ?>" />
112
			</form>
113
		</td>
114
	</tr>
115
<?php
116
		endif;
117
		if ($ifinfo['dhcp6link']):
118
?>
119
	<tr>
120
		<td width="22%" class="vncellt">
121
			DHCP6
122
		</td>
123
		<td width="78%" class="listr">
124
			<form name="dhcp6link_form" action="status_interfaces.php" method="post">
125
				<input type="hidden" name="if" value="<?php echo $ifdescr; ?>" />
126
				<input type="hidden" name="status" value="<?php echo $ifinfo['dhcp6link']; ?>" />
127
				<?=htmlspecialchars($ifinfo['dhcp6link']);?>&nbsp;&nbsp;
128
				<?php $action = ($ifinfo['dhcp6link'] == "up" ? gettext("Release") : gettext("Renew")); ?>
129
				<input type="submit" name="submit" class="formbtn" value="<?php echo $action; ?>" />
130
			</form>
131
		</td>
132
	</tr>
133
<?php
134
		endif;
135
		if ($ifinfo['pppoelink']):
136
?>
137
	<tr>
138
		<td width="22%" class="vncellt"><?=gettext("PPPoE"); ?></td>
139
		<td width="78%" class="listr">
140
			<form name="pppoelink_form" action="status_interfaces.php" method="post">
141
				<input type="hidden" name="if" value="<?php echo $ifdescr; ?>" />
142
				<input type="hidden" name="status" value="<?php echo $ifinfo['pppoelink']; ?>" />
143
				<?=htmlspecialchars($ifinfo['pppoelink']);?>&nbsp;&nbsp;
144
				<?php $action = ($ifinfo['pppoelink'] == "up" ? gettext("Disconnect") : gettext("Connect")); ?>
145
				<input type="submit" name="submit" class="formbtn" value="<?php echo $action; ?>" />
146
			</form>
147
		</td>
148
	</tr>
149
<?php
150
		endif;
151
		if ($ifinfo['pptplink']):
152
?>
153
	<tr>
154
		<td width="22%" class="vncellt"><?=gettext("PPTP"); ?></td>
155
		<td width="78%" class="listr">
156
			<form name="pptplink_form" action="status_interfaces.php" method="post">
157
				<input type="hidden" name="if" value="<?php echo $ifdescr; ?>" />
158
				<input type="hidden" name="status" value="<?php echo $ifinfo['pptplink']; ?>" />
159
				<?=htmlspecialchars($ifinfo['pptplink']);?>&nbsp;&nbsp;
160
				<?php $action = ($ifinfo['pptplink'] == "up" ? gettext("Disconnect") : gettext("Connect")); ?>
161
				<input type="submit" name="submit" class="formbtn" value="<?php echo $action; ?>" />
162
			</form>
163
		</td>
164
	</tr>
165
<?php 
166
		endif;
167
		if ($ifinfo['l2tplink']):
168
?>
169
	<tr>
170
		<td width="22%" class="vncellt"><?=gettext("L2TP"); ?></td>
171
		<td width="78%" class="listr">
172
			<form name="l2tplink_form" action="status_interfaces.php" method="post">
173
				<input type="hidden" name="if" value="<?php echo $ifdescr; ?>" />
174
				<input type="hidden" name="status" value="<?php echo $ifinfo['l2tplink']; ?>" />
175
				<?=htmlspecialchars($ifinfo['l2tplink']);?>&nbsp;&nbsp;
176
				<?php $action = ($ifinfo['l2tplink'] == "up" ? gettext("Disconnect") : gettext("Connect")); ?>
177
				<input type="submit" name="submit" class="formbtn" value="<?php echo $action; ?>" />
178
			</form>
179
		</td>
180
	</tr>
181
<?php
182
		endif;
183
		if ($ifinfo['ppplink']):
184
?>
185
	<tr>
186
		<td width="22%" class="vncellt"><?=gettext("PPP"); ?></td>
187
		<td width="78%" class="listr">
188
			<form name="ppplink_form" action="status_interfaces.php" method="post">
189
				<input type="hidden" name="if" value="<?php echo $ifdescr; ?>" />
190
				<input type="hidden" name="status" value="<?php echo $ifinfo['ppplink']; ?>" />
191
				<?=htmlspecialchars($ifinfo['ppplink']);?>
192
				<?php if ($ifinfo['ppplink'] == "up"): ?>
193
					<input type="submit" name="submit" class="formbtn" value="<?php echo gettext("Disconnect"); ?>" />
194
				<?php else: ?>
195
					<?php if (!$ifinfo['nodevice']): ?>
196
						<input type="submit" name="submit" class="formbtn" value="<?php echo gettext("Connect"); ?>" />
197
					<?php endif; ?>
198
				<?php endif; ?>
199
			</form>
200
		</td>
201
	</tr>
202
<?php
203
		endif;
204
		if ($ifinfo['ppp_uptime'] || $ifinfo['ppp_uptime_accumulated']):
205
?>
206
	<tr>
207
		<td width="22%" class="vncellt"><?=gettext("Uptime ");?><?php if ($ifinfo['ppp_uptime_accumulated']) echo "(historical)"; ?></td>
208
		<td width="78%" class="listr">
209
			<?=htmlspecialchars($ifinfo['ppp_uptime']);?> <?=htmlspecialchars($ifinfo['ppp_uptime_accumulated']);?>
210
		</td>
211
	</tr>
212
<?php
213
		endif;
214
		if ($ifinfo['cell_rssi']):
215
?>
216
	<tr>
217
		<td width="22%" class="vncellt"><?=gettext("Cell Signal (RSSI)");?></td>
218
		<td width="78%" class="listr">
219
			<?=htmlspecialchars($ifinfo['cell_rssi']);?>
220
		</td>
221
	</tr>
222
<?php
223
		endif;
224
		if ($ifinfo['cell_mode']):
225
?>
226
	<tr>
227
		<td width="22%" class="vncellt"><?=gettext("Cell Mode");?></td>
228
		<td width="78%" class="listr">
229
			<?=htmlspecialchars($ifinfo['cell_mode']);?>
230
		</td>
231
	</tr>
232
<?php
233
		endif;
234
		if ($ifinfo['cell_simstate']):
235
?>
236
	<tr>
237
		<td width="22%" class="vncellt"><?=gettext("Cell SIM State");?></td>
238
		<td width="78%" class="listr">
239
			<?=htmlspecialchars($ifinfo['cell_simstate']);?>
240
		</td>
241
	</tr>
242
<?php
243
		endif;
244
		if ($ifinfo['cell_service']):
245
?>
246
	<tr>
247
		<td width="22%" class="vncellt"><?=gettext("Cell Service");?></td>
248
		<td width="78%" class="listr">
249
			<?=htmlspecialchars($ifinfo['cell_service']);?>
250
		</td>
251
	</tr>
252
<?php
253
		endif;
254
		if ($ifinfo['cell_bwupstream']):
255
?>
256
	<tr>
257
		<td width="22%" class="vncellt"><?=gettext("Cell Upstream");?></td>
258
		<td width="78%" class="listr">
259
			<?=htmlspecialchars($ifinfo['cell_bwupstream']);?> kbit/s
260
		</td>
261
	</tr>
262
<?php
263
		endif;
264
		if ($ifinfo['cell_bwdownstream']):
265
?>
266
	<tr>
267
		<td width="22%" class="vncellt"><?=gettext("Cell Downstream");?></td>
268
		<td width="78%" class="listr">
269
			<?=htmlspecialchars($ifinfo['cell_bwdownstream']);?> kbit/s
270
		</td>
271
	</tr>
272
<?php
273
		endif;
274
		if ($ifinfo['cell_upstream']):
275
?>
276
	<tr>
277
		<td width="22%" class="vncellt"><?=gettext("Cell Current Up");?></td>
278
		<td width="78%" class="listr">
279
			<?=htmlspecialchars($ifinfo['cell_upstream']);?> kbit/s
280
		</td>
281
	</tr>
282
<?php
283
		endif;
284
		if ($ifinfo['cell_downstream']):
285
?>
286
	<tr>
287
		<td width="22%" class="vncellt"><?=gettext("Cell Current Down");?></td>
288
		<td width="78%" class="listr">
289
			<?=htmlspecialchars($ifinfo['cell_downstream']);?> kbit/s
290
		</td>
291
	</tr>
292
<?php
293
		endif;
294
		if ($ifinfo['macaddr']):
295
?>
296
	<tr>
297
		<td width="22%" class="vncellt"><?=gettext("MAC address");?></td>
298
		<td width="78%" class="listr">
299
			<?php
300
			$mac=$ifinfo['macaddr'];
301
			$mac_hi = strtoupper($mac[0] . $mac[1] . $mac[3] . $mac[4] . $mac[6] . $mac[7]);
302
			if (isset($mac_man[$mac_hi])) {
303
				print "<span>" . $mac . " - " . htmlspecialchars($mac_man[$mac_hi]); print "</span>";
304
			} else {
305
				print htmlspecialchars($mac);
306
			}
307
			?>
308
		</td>
309
	</tr>
310
<?php
311
		endif;
312
		if ($ifinfo['status'] != "down"):
313
?>
314
<?php
315
			if ($ifinfo['dhcplink'] != "down" && $ifinfo['pppoelink'] != "down" && $ifinfo['pptplink'] != "down"):
316
				if ($ifinfo['ipaddr']):
317
?>
318
	<tr>
319
		<td width="22%" class="vncellt"><?=gettext("IPv4 address");?></td>
320
		<td width="78%" class="listr">
321
			<?=htmlspecialchars($ifinfo['ipaddr']);?>
322
			&nbsp;
323
		</td>
324
	</tr>
325
<?php
326
				endif;
327
				if ($ifinfo['subnet']):
328
?>
329
	<tr>
330
		<td width="22%" class="vncellt"><?=gettext("Subnet mask IPv4");?></td>
331
		<td width="78%" class="listr">
332
			<?=htmlspecialchars($ifinfo['subnet']);?>
333
		</td>
334
	</tr>
335
<?php
336
				endif;
337
				if ($ifinfo['gateway']):
338
?>
339
	<tr>
340
		<td width="22%" class="vncellt"><?=gettext("Gateway IPv4");?></td>
341
		<td width="78%" class="listr">
342
			<?=htmlspecialchars($config['interfaces'][$ifdescr]['gateway']);?>
343
			<?=htmlspecialchars($ifinfo['gateway']);?>
344
		</td>
345
	</tr>
346
<?php
347
				endif;
348
				if ($ifinfo['linklocal']):
349
?>
350
	<tr>
351
		<td width="22%" class="vncellt"><?=gettext("IPv6 Link Local");?></td>
352
		<td width="78%" class="listr">
353
			<?=htmlspecialchars($ifinfo['linklocal']);?>
354
			&nbsp;
355
		</td>
356
	</tr>
357
<?php
358
				endif;
359
				if ($ifinfo['ipaddrv6']):
360
?>
361
	<tr>
362
		<td width="22%" class="vncellt"><?=gettext("IPv6 address");?></td>
363
		<td width="78%" class="listr">
364
			<?=htmlspecialchars($ifinfo['ipaddrv6']);?>
365
			&nbsp;
366
		</td>
367
	</tr>
368
<?php
369
				endif;
370
				if ($ifinfo['subnetv6']):
371
?>
372
	<tr>
373
		<td width="22%" class="vncellt"><?=gettext("Subnet mask IPv6");?></td>
374
		<td width="78%" class="listr">
375
			<?=htmlspecialchars($ifinfo['subnetv6']);?>
376
		</td>
377
	</tr>
378
<?php
379
				endif;
380
				if ($ifinfo['gatewayv6']):
381
?>
382
	<tr>
383
		<td width="22%" class="vncellt"><?=gettext("Gateway IPv6");?></td>
384
		<td width="78%" class="listr">
385
			<?=htmlspecialchars($config['interfaces'][$ifdescr]['gatewayv6']);?>
386
			<?=htmlspecialchars($ifinfo['gatewayv6']);?>
387
		</td>
388
	</tr>
389
<?php
390
				endif;
391
				if ($ifdescr == "wan" && file_exists("{$g['varetc_path']}/resolv.conf")):
392
?>
393
	<tr>
394
		<td width="22%" class="vncellt"><?=gettext("ISP DNS servers");?></td>
395
		<td width="78%" class="listr">
396
			<?php
397
					$dns_servers = get_dns_servers();
398
					foreach ($dns_servers as $dns) {
399
						echo "{$dns}<br />";
400
					}
401
			?>
402
		</td>
403
	</tr>
404
<?php
405
				endif;
406
			endif;
407
			if ($ifinfo['mtu']):
408
?>
409
	<tr>
410
		<td width="22%" class="vncellt"><?=gettext("MTU");?></td>
411
		<td width="78%" class="listr">
412
			<?=htmlspecialchars($ifinfo['mtu']);?>
413
		</td>
414
	</tr>
415
<?php
416
			endif;
417
			if ($ifinfo['media']):
418
?>
419
	<tr>
420
		<td width="22%" class="vncellt"><?=gettext("Media");?></td>
421
		<td width="78%" class="listr">
422
			<?=htmlspecialchars($ifinfo['media']);?>
423
		</td>
424
	</tr>
425
<?php
426
			endif;
427
			if ($ifinfo['laggproto']):
428
?>
429
	<tr>
430
		<td width="22%" class="vncellt"><?=gettext("LAGG Protocol");?></td>
431
		<td width="78%" class="listr">
432
			<?=htmlspecialchars($ifinfo['laggproto']);?>
433
		</td>
434
	</tr>
435
<?php
436
			endif;
437
			if (is_array($ifinfo['laggport'])):
438
?>
439
	<tr>
440
		<td width="22%" class="vncellt"><?=gettext("LAGG Ports");?></td>
441
		<td width="78%" class="listr">
442
			<?php
443
				foreach ($ifinfo['laggport'] as $laggport) {
444
					echo htmlspecialchars($laggport);
445
			?>
446
			<br />
447
			<?php
448
				}
449
			?>
450
		</td>
451
	</tr>
452
<?php
453
			endif;
454
			if ($ifinfo['channel']):
455
?>
456
	<tr>
457
		<td width="22%" class="vncellt"><?=gettext("Channel");?></td>
458
		<td width="78%" class="listr">
459
			<?=htmlspecialchars($ifinfo['channel']);?>
460
		</td>
461
	</tr>
462
<?php
463
			endif;
464
			if ($ifinfo['ssid']):
465
?>
466
	<tr>
467
		<td width="22%" class="vncellt"><?=gettext("SSID");?></td>
468
		<td width="78%" class="listr">
469
			<?=htmlspecialchars($ifinfo['ssid']);?>
470
		</td>
471
	</tr>
472
<?php
473
			endif;
474
			if ($ifinfo['bssid']):
475
?>
476
	<tr>
477
		<td width="22%" class="vncellt"><?=gettext("BSSID");?></td>
478
		<td width="78%" class="listr">
479
			<?=htmlspecialchars($ifinfo['bssid']);?>
480
		</td>
481
	</tr>
482
<?php
483
			endif;
484
			if ($ifinfo['rate']):
485
?>
486
	<tr>
487
		<td width="22%" class="vncellt"><?=gettext("Rate");?></td>
488
		<td width="78%" class="listr">
489
			<?=htmlspecialchars($ifinfo['rate']);?>
490
		</td>
491
	</tr>
492
<?php
493
			endif;
494
			if ($ifinfo['rssi']):
495
?>
496
	<tr>
497
		<td width="22%" class="vncellt"><?=gettext("RSSI");?></td>
498
		<td width="78%" class="listr">
499
			<?=htmlspecialchars($ifinfo['rssi']);?>
500
		</td>
501
	</tr>
502
<?php
503
			endif;
504
?>
505
	<tr>
506
		<td width="22%" class="vncellt"><?=gettext("In/out packets");?></td>
507
		<td width="78%" class="listr">
508
		<?php
509
			echo htmlspecialchars($ifinfo['inpkts'] . "/" . $ifinfo['outpkts'] . " (");
510
			echo htmlspecialchars(format_bytes($ifinfo['inbytes']) . "/" . format_bytes($ifinfo['outbytes']) . ")");
511
		?>
512
		</td>
513
	</tr>
514
	<tr>
515
		<td width="22%" class="vncellt"><?=gettext("In/out packets (pass)");?></td>
516
		<td width="78%" class="listr">
517
		<?php
518
			echo htmlspecialchars($ifinfo['inpktspass'] . "/" . $ifinfo['outpktspass'] . " (");
519
			echo htmlspecialchars(format_bytes($ifinfo['inbytespass']) . "/" . format_bytes($ifinfo['outbytespass']) . ")");
520
		?>
521
		</td>
522
	</tr>
523
	<tr>
524
		<td width="22%" class="vncellt"><?=gettext("In/out packets (block)");?></td>
525
		<td width="78%" class="listr">
526
		<?php
527
			echo htmlspecialchars($ifinfo['inpktsblock'] . "/" . $ifinfo['outpktsblock'] . " (");
528
			echo htmlspecialchars(format_bytes($ifinfo['inbytesblock']) . "/" . format_bytes($ifinfo['outbytesblock']) . ")");
529
		?>
530
		</td>
531
	</tr>
532
<?php
533
			if (isset($ifinfo['inerrs'])):
534
?>
535
	<tr>
536
		<td width="22%" class="vncellt"><?=gettext("In/out errors");?></td>
537
		<td width="78%" class="listr">
538
			<?=htmlspecialchars($ifinfo['inerrs'] . "/" . $ifinfo['outerrs']);?>
539
		</td>
540
	</tr>
541
<?php
542
			endif;
543
			if (isset($ifinfo['collisions'])):
544
?>
545
	<tr>
546
		<td width="22%" class="vncellt"><?=gettext("Collisions");?></td>
547
		<td width="78%" class="listr">
548
			<?=htmlspecialchars($ifinfo['collisions']);?>
549
		</td>
550
	</tr>
551
<?php
552
			endif;
553
		endif;
554
?>
555
<?php
556
		if ($ifinfo['bridge']):
557
?>
558
	<tr>
559
		<td width="22%" class="vncellt"><?php printf(gettext("Bridge (%s)"), $ifinfo['bridgeint']);?></td>
560
		<td width="78%" class="listr">
561
			<?=$ifinfo['bridge'];?>
562
		</td>
563
	</tr>
564
<?php
565
		endif;
566
		if (file_exists("/usr/bin/vmstat")):
567
			$real_interface = "";
568
			$interrupt_total = "";
569
			$interrupt_sec = "";
570
			$real_interface = $ifinfo['hwif'];
571
			$interrupt_total = `vmstat -i | grep $real_interface | awk '{ print $3 }'`;
572
			$interrupt_sec = `vmstat -i | grep $real_interface | awk '{ print $4 }'`;
573
			if (strstr($interrupt_total, "hci")) {
574
				$interrupt_total = `vmstat -i | grep $real_interface | awk '{ print $4 }'`;
575
				$interrupt_sec = `vmstat -i | grep $real_interface | awk '{ print $5 }'`;
576
			}
577
			unset($interrupt_total); // XXX: FIX ME!  Need a regex and parse correct data 100% of the time.
578
			if ($interrupt_total): ?>
579
	<tr>
580
		<td width="22%" class="vncellt"><?=gettext("Interrupts/Second");?></td>
581
		<td width="78%" class="listr">
582
			<?php
583
				echo $interrupt_total . " " . gettext("total");
584
				echo "<br />";
585
				echo $interrupt_sec . " " . gettext("rate");
586
			?>
587
		</td>
588
	</tr>
589
<?php
590
			endif;
591
		endif;
592
		$i++;
593
	endforeach;
594
?>
595
</table>
596

    
597
<br />
598

    
599
<?php printf(gettext("Using dial-on-demand will bring the connection up again if any packet ".
600
"triggers it. To substantiate this point: disconnecting manually ".
601
"will %snot%s prevent dial-on-demand from making connections ".
602
"to the outside! Don't use dial-on-demand if you want to make sure that the line ".
603
"is kept disconnected."), '<strong>', '</strong>')?>
604

    
605
<?php include("fend.inc"); ?>
606
</body>
607
</html>
(188-188/252)