Deleted Added
full compact
login.c (250303) login.c (254657)
1/*-
2 * Copyright (c) 2005-2010 Daniel Braniss <danny@cs.huji.ac.il>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * SUCH DAMAGE.
25 *
26 */
27/*
28 | $Id: login.c,v 1.4 2007/04/27 07:40:40 danny Exp danny $
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005-2010 Daniel Braniss <danny@cs.huji.ac.il>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * SUCH DAMAGE.
25 *
26 */
27/*
28 | $Id: login.c,v 1.4 2007/04/27 07:40:40 danny Exp danny $
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sbin/iscontrol/login.c 250303 2013-05-06 17:44:12Z eadler $");
32__FBSDID("$FreeBSD: head/sbin/iscontrol/login.c 254657 2013-08-22 14:02:34Z trasz $");
33
34#include <sys/param.h>
35#include <sys/types.h>
36#include <sys/socket.h>
37#include <sys/sysctl.h>
38
39#include <netinet/in.h>
40#include <netinet/tcp.h>
41#include <arpa/inet.h>
42#include <sys/ioctl.h>
43#include <stdio.h>
44#include <stdlib.h>
45#include <string.h>
46
33
34#include <sys/param.h>
35#include <sys/types.h>
36#include <sys/socket.h>
37#include <sys/sysctl.h>
38
39#include <netinet/in.h>
40#include <netinet/tcp.h>
41#include <arpa/inet.h>
42#include <sys/ioctl.h>
43#include <stdio.h>
44#include <stdlib.h>
45#include <string.h>
46
47#include <dev/iscsi/initiator/iscsi.h>
47#include <dev/iscsi_initiator/iscsi.h>
48#include "iscontrol.h"
49
50static char *status_class1[] = {
51 "Initiator error",
52 "Authentication failure",
53 "Authorization failure",
54 "Not found",
55 "Target removed",

--- 385 unchanged lines hidden ---
48#include "iscontrol.h"
49
50static char *status_class1[] = {
51 "Initiator error",
52 "Authentication failure",
53 "Authorization failure",
54 "Not found",
55 "Target removed",

--- 385 unchanged lines hidden ---